Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 21:51:08 GMT
From:      Colin Henein <portbug@cmh.parliant.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/70744: mod_fastcgi doesn't build without Makefile patch
Message-ID:  <200408202151.i7KLp87H056666@www.freebsd.org>
Resent-Message-ID: <200408202200.i7KM0gmK074754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408202151.i7KLp87H056666>