aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-09-02 18:08:48 +0800
committerale <ale@FreeBSD.org>2004-09-02 18:08:48 +0800
commit23964bcb0706829a09e30ea0f5aa25f08e527bfd (patch)
tree6ec4d0cc3c5dc380cf9ec5f35c0311ecf3ee0679
parent0be6d57c58aa4ca77cb30593d837ae40d66958a5 (diff)
downloadfreebsd-ports-gnome-23964bcb0706829a09e30ea0f5aa25f08e527bfd.tar.gz
freebsd-ports-gnome-23964bcb0706829a09e30ea0f5aa25f08e527bfd.tar.zst
freebsd-ports-gnome-23964bcb0706829a09e30ea0f5aa25f08e527bfd.zip
Enhance extension deinstallation.
Submitted by: Rolandas Naujikas <rolnas@takas.lt>
-rw-r--r--Mk/bsd.php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 39978ea48094..b44e78f5b18f 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -225,7 +225,7 @@ add-plist-phpext:
>> ${TMPPLIST}
@${ECHO_CMD} "@unexec cp %D/etc/php/extensions.ini %D/etc/php/extensions.ini.orig" \
>> ${TMPPLIST}
- @${ECHO_CMD} "@unexec grep -v ${PHP_MODNAME}\\\.so %D/etc/php/extensions.ini.orig > %D/etc/php/extensions.ini || true" \
+ @${ECHO_CMD} "@unexec grep -v extension=${PHP_MODNAME}\\\.so %D/etc/php/extensions.ini.orig > %D/etc/php/extensions.ini || true" \
>> ${TMPPLIST}
@${ECHO_CMD} "@unexec rm %D/etc/php/extensions.ini.orig" \
>> ${TMPPLIST}