summaryrefslogtreecommitdiff
path: root/www/abcache
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-27 00:30:37 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-27 00:30:37 +0000
commit6d715f98042b1ae0a34d7d7b08c79abcf822c9f4 (patch)
treeffe6ca5e4da6fd1a192e2c203c67d55d024f9434 /www/abcache
parentPass maintainership to the submitter. (diff)
Fix localbase/prefix issues in pkg-message.
PR: 36349 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=56721
Diffstat (limited to 'www/abcache')
-rw-r--r--www/abcache/Makefile3
-rw-r--r--www/abcache/pkg-message2
2 files changed, 3 insertions, 2 deletions
diff --git a/www/abcache/Makefile b/www/abcache/Makefile
index 61c32df921d6..80fd225e20c3 100644
--- a/www/abcache/Makefile
+++ b/www/abcache/Makefile
@@ -37,6 +37,7 @@ do-install:
${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 --git a/www/abcache/pkg-message b/www/abcache/pkg-message
index e60c43635c7f..8de6365e59ff 100644
--- a/www/abcache/pkg-message
+++ b/www/abcache/pkg-message
@@ -5,7 +5,7 @@ You have installed the abcache package.
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"