ports/70744: mod_fastcgi doesn't build without Makefile patch

Colin Henein portbug at cmh.parliant.com
Fri Aug 20 22:00:46 UTC 2004


>Number:         70744
>Category:       ports
>Synopsis:       mod_fastcgi doesn't build without Makefile patch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 22:00:42 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Colin Henein
>Release:        4.10
>Organization:
Parliant
>Environment:
FreeBSD silk-new.parliant.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When building this port with WITH_APACHE2 and using the default apache2 port the fastcgi compile fails with a whack of errors. 

The problem is that the location of the apache2 build directory is not what the fastcgi makefile expects.
>How-To-Repeat:
make WITH_APACHE2=yes 
in the mod_fastcgi port with the apache2 port installed
>Fix:
There is a line:
    MAKE_ARGS=      INCLUDES=-I${PREFIX}/include/apache2
in the port's Makefile in the 
    .if defined(WITH_APACHE2)
block.

The following text should be appended to the MAKE_ARGS line:
     top_builddir=/usr/local/share/apache2

This will override the incorrect assumption made by the mod_fastcgi/Makefile.AP2 makefile as to the location of the build directory.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list