Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 08:06:12 GMT
From:      Jens Rehsack <rehsack@liwing.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52518: compile error of mod_php4 when used WITH_APACHE2=yes [patch]
Message-ID:  <200305210806.h4L86CQa063836@helo.liwing.de>
Resent-Message-ID: <200305210810.h4L8AFnD079742@freefall.freebsd.org>

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

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



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