Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 19:57:20 +0100
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42710: www/mod_php4 Sablotron not LOCALBASE clean
Message-ID:  <E17pZ9U-000Jpt-00@voi.aagh.net>

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

>Number:         42710
>Category:       ports
>Synopsis:       www/mod_php4 Sablotron not LOCALBASE clean
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 12:00:09 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Very little
>Environment:
System: FreeBSD voi.freak.lan 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 14:48:39 BST 2002 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386


>Description:
	files/configure.php just passes a naked --with-xslt-sablot to PHP
	./configure; most other libraries are passed LOCALBASE, either
	absolutely or conditionally (like in the case of bzip2).

	Since PHP's lovely 75,000 line ./configure only checks /usr and
	/usr/local by default, anyone who's dumb enough to change LOCALBASE
	(read: me) will have configure fail.
>How-To-Repeat:
>Fix:
	This worked for me, tested with www/mod_php4 and lang/php4

	Anyone who installed Sablotron outside ports and elsewhere than LOCALBASE
	will hate it, but this is what configure.php appears to do for most other
	libraries.

--- scripts/configure.php~      Thu Sep 12 17:49:44 2002
+++ scripts/configure.php       Thu Sep 12 19:41:25 2002
@@ -267,7 +267,7 @@
                        ;;
                \"XSLT\")
                        echo "LIB_DEPENDS+=     sablot.69:\${PORTSDIR}/textproc/sablotron"
-                       echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot"
+                       echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot=\${LOCALBASE}"
                        if [ -z "$XML" ]; then
                                set $* \"XML\"
                        fi
>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?E17pZ9U-000Jpt-00>