From owner-freebsd-ports  Thu Jul 12  2:50:10 2001
Delivered-To: freebsd-ports@hub.freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id CCFF637B407
	for <freebsd-ports@hub.freebsd.org>; Thu, 12 Jul 2001 02:50:01 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f6C9o1P13578;
	Thu, 12 Jul 2001 02:50:01 -0700 (PDT)
	(envelope-from gnats)
Received: from ofup-prod.teaser.fr (ofup-prod.teaser.fr [213.91.3.26])
	by hub.freebsd.org (Postfix) with ESMTP id B827937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Jul 2001 02:43:50 -0700 (PDT)
	(envelope-from at@ofup-prod.teaser.fr)
Received: (from at@localhost)
	by ofup-prod.teaser.fr (8.11.3/8.11.3) id f6C9hnM34126;
	Thu, 12 Jul 2001 11:43:49 +0200 (CEST)
	(envelope-from at)
Message-Id: <200107120943.f6C9hnM34126@ofup-prod.teaser.fr>
Date: Thu, 12 Jul 2001 11:43:49 +0200 (CEST)
From: at@teaser.net
Reply-To: at@teaser.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: tech@teaser.fr
X-Send-Pr-Version: 3.113
Subject: ports/28909: XML Support broken in PHP 4.0.6
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org


>Number:         28909
>Category:       ports
>Synopsis:       XML Support in php 4.0.6 port is not compiled if choosed startup
>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:   Thu Jul 12 02:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alain Thivillon
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
France Teaser
>Environment:
System: FreeBSD ofup-prod.teaser.fr 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Mon Jul 2 19:28:56 CEST 2001 at@ofup-prod.teaser.fr:/usr/src/sys/compile/OFUP i386


>Description:

 XML support in php 4.0.6 port is not compiled if choosed during
 intial dialog in make command

 configure is call with --with-xml=/usr/local which is false 
 because bundled xml support stays in ext/xml.
 
 configure flags should include --with-expat-dir=/usr/local 
 instead.

>How-To-Repeat:

 Try to install php 4.0.6 port with XML support, call
 phpinfo() : 

>Fix:

 Add --with-expat-dir on scripts/configure.php

--- ports/www/mod_php4/scripts/configure.php.orig	Mon Jun 25 23:06:09 2001
+++ ports/www/mod_php4/scripts/configure.php	Thu Jul 12 11:39:20 2001
@@ -176,7 +176,7 @@
 			;;
 		\"XML\")
 			echo "LIB_DEPENDS+=	expat.2:\${PORTSDIR}/textproc/expat2"
-			echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}"
+			echo "CONFIGURE_ARGS+=--with-xml --with-expat-dir=\${PREFIX}"
 			XML=1
 			;;
 		\"XSLT\")
 
>Release-Note:
>Audit-Trail:
>Unformatted:

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