Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 01:05:00 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36349: [Patch] www/abcache (respect PREFIX/LOCALBASE)
Message-ID:  <200203270005.g2R050704016@vaio.alexdupre.com>

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

>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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203270005.g2R050704016>