From owner-freebsd-ports Tue Mar 26 16:10:44 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 06D6C37B425 for ; Tue, 26 Mar 2002 16:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2R0A2L12784; Tue, 26 Mar 2002 16:10:02 -0800 (PST) (envelope-from gnats) Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209]) by hub.freebsd.org (Postfix) with ESMTP id 3234137B405 for ; Tue, 26 Mar 2002 16:00:52 -0800 (PST) Received: (from alex@localhost) by vaio.alexdupre.com (8.11.6/8.11.6) id g2R050704016; Wed, 27 Mar 2002 01:05:00 +0100 (CET) (envelope-from alex) Message-Id: <200203270005.g2R050704016@vaio.alexdupre.com> Date: Wed, 27 Mar 2002 01:05:00 +0100 (CET) From: Alex Dupre Reply-To: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36349: [Patch] www/abcache (respect PREFIX/LOCALBASE) 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: 36349 >Category: ports >Synopsis: [Patch] www/abcache (respect PREFIX/LOCALBASE) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 16:10:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Sun Mar 10 23:48:11 CET 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386 >Description: The pkg-message file was not respecting the installation PREFIX. >How-To-Repeat: >Fix: --- abcache.diff begins here --- diff -ruN abcache.orig/Makefile abcache/Makefile --- abcache.orig/Makefile Wed Mar 27 00:42:19 2002 +++ abcache/Makefile Wed Mar 27 00:51:30 2002 @@ -37,6 +37,7 @@ ${PREFIX}/lib/php/20010901 post-install: - @${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE} + @${SED} "s!%%LOCALBASE%%!${LOCALBASE}!g;s!%%PREFIX%%!${PREFIX}!g" \ + ${PKGMESSAGE} .include diff -ruN abcache.orig/pkg-message abcache/pkg-message --- abcache.orig/pkg-message Wed Mar 27 00:42:19 2002 +++ abcache/pkg-message Wed Mar 27 00:42:46 2002 @@ -5,7 +5,7 @@ Edit %%LOCALBASE%%/etc/php.ini and add: [abcache] -zend_extension="%%LOCALBASE%%/lib/php/20010901/bware_cache.so" +zend_extension="%%PREFIX%%/lib/php/20010901/bware_cache.so" bware_cache_enable="1" bware_cache_check_stamp="1" bware_cache_log_level="1" --- abcache.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message