ports/52518: compile error of mod_php4 when used WITH_APACHE2=yes [patch]

Jens Rehsack rehsack at liwing.de
Wed May 21 08:10:17 UTC 2003


>Number:         52518
>Category:       ports
>Synopsis:       compile error of mod_php4 when used WITH_APACHE2=yes [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 01:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jens Rehsack
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD fozzie.muppets.liwing.de 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon May 19 22:11:47 GMT 2003 root at fozzie.muppets.liwing.de:/usr/obj/usr/src/sys/FOZZIE i386

>Description:
	When building www/mod_php4 on a 4-STABLE system with apache2 instead of commonly used apache13, compile errors because of duplicated
	regular expression constant definitions came up. Sending a compile error report to the php bug list resolved this as a freebsd port
	bug, because "--with-regex=system" which is used in the makefile is not for common usage but for those noses who "knows exactly what they do".
	Recommendation from php workers is to remove the "=system" as the patch appended does.
	See details 'bout reporting at http://bugs.php.net/?id=23697
>How-To-Repeat:
	build mod_php4 on 4-STABLE sytsme WITH_APACHE2=yes
>Fix:

	

--- Makefile.diff begins here ---
--- Makefile.orig	Fri Mar  7 06:12:44 2003
+++ Makefile	Wed May 21 07:55:51 2003
@@ -55,7 +55,7 @@
 .endif
 CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \
 		--enable-versioning \
-		--with-regex=system \
+		--with-regex \
 		--without-gd \
 		--without-mysql
 
--- Makefile.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list