Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 22:31:58 +0930 (CST)
From:      Michael Gratton <mike@vee.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41045: Build www/mod_php4 with --enable-track-vars and --enable-force-cgi-redirect
Message-ID:  <200207271301.g6RD1wK4000725@consolidation.home.vee.net>

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

>Number:         41045
>Category:       ports
>Synopsis:       Build www/mod_php4 with --enable-track-vars and --enable-force-cgi-redirect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 27 06:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael Gratton
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD consolidation.home.vee.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jun 28 20:11:18 CST 2002 root@consolidation.home.vee.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Many web applications which use PHP4 expect it to be built with configure
given the argument "--enable-track-vars". The specific example which caused
me to file this PR is Squirrel Mail.

Also, `configure --help` suggests that when building PHP as a module, that
it be run with the argument "--enable-force-cgi-redirect", again which
is required by Squirrel Mail.

>How-To-Repeat:

Build the port www/mod_php4

>Fix:

The following patch for www/mod_php4/Makefile ensures it is built with the
desired configure args.
 
--- Makefile.diff begins here ---
--- Makefile.old	Sat Jul 27 22:13:33 2002
+++ Makefile	Sat Jul 27 22:22:06 2002
@@ -55,11 +55,15 @@
 .else
 .if defined(WITH_APACHE2)
 CONFIGURE_ARGS=	--with-apxs2=${PREFIX}/sbin/apxs \
+		--enable-track-vars \
+		--enable-force-cgi-redirect \
 		--with-tsrm-pth
 PLIST_SUB=	MOD_DIR=libexec/apache2 \
 		NON=
 .else
 CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs \
+		--enable-track-vars \
+		--enable-force-cgi-redirect
 PLIST_SUB=	MOD_DIR=libexec/apache \
 		NON=non-
 .endif
--- Makefile.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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