From root@helo.liwing.de  Wed May 21 01:06:17 2003
Return-Path: <root@helo.liwing.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8414337B404
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 01:06:16 -0700 (PDT)
Received: from helo.liwing.de (helo.liwing.de [213.70.188.163])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8050B43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 01:06:15 -0700 (PDT)
	(envelope-from root@helo.liwing.de)
Received: from helo.liwing.de (localhost.liwing.de [127.0.0.1])
	by helo.liwing.de (8.12.7/8.12.7) with ESMTP id h4L86D3F063837;
	Wed, 21 May 2003 08:06:13 GMT
	(envelope-from root@helo.liwing.de)
Received: (from root@localhost)
	by helo.liwing.de (8.12.7/8.12.7/Submit) id h4L86CQa063836;
	Wed, 21 May 2003 08:06:12 GMT
Message-Id: <200305210806.h4L86CQa063836@helo.liwing.de>
Date: Wed, 21 May 2003 08:06:12 GMT
From: Jens Rehsack <rehsack@liwing.de>
Reply-To: Jens Rehsack <rehsack@liwing.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Jens Rehsack <rehsack@liwing.de>
Subject: compile error of mod_php4 when used WITH_APACHE2=yes [patch]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 01:10:15 PDT 2003
>Closed-Date:    Sat May 24 02:20:32 PDT 2003
>Last-Modified:  Sat May 24 02:20:32 PDT 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Sat May 24 02:20:22 PDT 2003 
State-Changed-Why:  
Maybe fixed by updating to 4.3.2RC4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52518 
>Unformatted:
