From owner-freebsd-ports Thu Sep 12 12: 0:23 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C516337B401 for ; Thu, 12 Sep 2002 12:00:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E71E443E75 for ; Thu, 12 Sep 2002 12:00:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8CJ0AJU036991 for ; Thu, 12 Sep 2002 12:00:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8CJ0ASc036990; Thu, 12 Sep 2002 12:00:10 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515F937B400 for ; Thu, 12 Sep 2002 11:57:32 -0700 (PDT) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE1D43E6A for ; Thu, 12 Sep 2002 11:57:26 -0700 (PDT) (envelope-from freaky@voi.aagh.net) Received: from voi.aagh.net ([213.105.22.20]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020912185720.OPVA11421.mta03-svc.ntlworld.com@voi.aagh.net> for ; Thu, 12 Sep 2002 19:57:20 +0100 Received: from freaky by voi.aagh.net with local (Exim 4.10) id 17pZ9U-000Jpt-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 12 Sep 2002 19:57:20 +0100 Message-Id: Date: Thu, 12 Sep 2002 19:57:20 +0100 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42710: www/mod_php4 Sablotron not LOCALBASE clean Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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