From owner-freebsd-ports Fri Feb 22 0:40: 9 2002 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 9254E37B405 for ; Fri, 22 Feb 2002 00:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1M8e1D96308; Fri, 22 Feb 2002 00:40:01 -0800 (PST) (envelope-from gnats) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by hub.freebsd.org (Postfix) with ESMTP id 9D03B37B402 for ; Fri, 22 Feb 2002 00:35:01 -0800 (PST) Received: from localhost (e142227.ppp.asahi-net.or.jp [211.13.142.227]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 2AE4461EA for ; Fri, 22 Feb 2002 17:35:00 +0900 (JST) Message-Id: <20020222.173437.105254617.tu7k-kbt@asahi-net.or.jp> Date: Fri, 22 Feb 2002 17:34:37 +0900 (JST) From: Kazutoshi Kubota To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35204: www/mod_php4 with xslt is 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: 35204 >Category: ports >Synopsis: www/mod_php4 with xslt is not LOCALBASE clean >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: Fri Feb 22 00:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kazutoshi Kubota >Release: FreeBSD 4.5-RELEASE i386 >Organization: CBUG - Tokyo west area BSD Users Group >Environment: System: FreeBSD flea.willbe6.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Jan 31 06:58:15 GMT 2002 root@flea.willbe6.org:/usr/obj/usr/src/sys/AVENTURE i386 >Description: In case of ${PREFIX} other than /usr/local, ext/xslt/config.m4 can't locate ${PREFIX}/include/sablot.h >How-To-Repeat: >Fix: diff -urN mod_php4.orig/Makefile mod_php4/Makefile --- mod_php4.orig/Makefile Fri Feb 22 15:44:43 2002 +++ mod_php4/Makefile Fri Feb 22 17:11:00 2002 @@ -74,6 +74,9 @@ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/ext/xslt/config.m4 + post-install: .if !defined(STANDALONE) @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc diff -urN mod_php4.orig/files/patch-ext_xslt_config.m4 mod_php4/files/patch-ext_xslt_config.m4 --- mod_php4.orig/files/patch-ext_xslt_config.m4 Thu Jan 1 09:00:00 1970 +++ mod_php4/files/patch-ext_xslt_config.m4 Fri Feb 22 16:33:54 2002 @@ -0,0 +1,11 @@ +--- ext/xslt/config.m4.orig Fri Feb 22 16:18:02 2002 ++++ ext/xslt/config.m4 Fri Feb 22 16:18:29 2002 +@@ -36,7 +36,7 @@ + XSLT_DIR=$XSLT_CHECK_DIR + else + AC_MSG_CHECKING(for $XSLT_BACKEND_NAME libraries in the default path) +- for i in /usr /usr/local; do ++ for i in /usr %%PREFIX%%; do + condition="$i$XSLT_TEST_FILE" + if test -r $condition; then + XSLT_DIR=$i >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message