Date: Fri, 22 Feb 2002 17:34:37 +0900 (JST) From: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35204: www/mod_php4 with xslt is not LOCALBASE clean Message-ID: <20020222.173437.105254617.tu7k-kbt@asahi-net.or.jp>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020222.173437.105254617.tu7k-kbt>