diff options
author | ale <ale@FreeBSD.org> | 2005-04-15 16:12:00 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-04-15 16:12:00 +0800 |
commit | 8b8902331b53c7f9ebca22d558ca18d1f98699ae (patch) | |
tree | c40db7097535df6db7e09aa7de2c243b90e9be22 /lang/php5 | |
parent | bb632c9ded1bd6c59214ef50589439b6b44b4d0a (diff) | |
download | freebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.tar.gz freebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.tar.zst freebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.zip |
Fix definitely pear package deinstallation.
PR: ports/79830
Submitted by: leeym
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile.pear | 2 | ||||
-rw-r--r-- | lang/php5/pkg-plist.pear | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lang/php5/Makefile.pear b/lang/php5/Makefile.pear index b69f41a26bd1..75ed3861d93d 100644 --- a/lang/php5/Makefile.pear +++ b/lang/php5/Makefile.pear @@ -1,4 +1,4 @@ -PORTREVISION= 2 +PORTREVISION= 3 USE_GNOME= libxml2 diff --git a/lang/php5/pkg-plist.pear b/lang/php5/pkg-plist.pear index 4bb56f13a43d..5d6e41f0a15a 100644 --- a/lang/php5/pkg-plist.pear +++ b/lang/php5/pkg-plist.pear @@ -1,7 +1,7 @@ bin/pear -lib/php/pear/.filemap -lib/php/pear/.lock @exec mkdir -p %D/lib/php/pear/.registry +@exec touch %D/lib/php/pear/.filemap +@exec touch %D/lib/php/pear/.lock share/pear/bootstrap/Archive/Tar.php share/pear/bootstrap/PEAR.php share/pear/bootstrap/System.php @@ -34,8 +34,10 @@ share/pear/bootstrap/PEAR/Remote.php share/pear/bootstrap/PEAR/RunTest.php share/pear/bootstrap/XML/RPC.php share/pear/bootstrap/XML/RPC/Server.php -@dirrm lib/php/pear/.registry -@dirrm lib/php/pear +@unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true +@unexec rm %D/lib/php/pear/.lock 2> /dev/null || true +@unexec rmdir %D/lib/php/pear/.registry 2> /dev/null || true +@unexec rmdir %D/lib/php/pear 2> /dev/null || true @unexec rmdir %D/lib/php 2> /dev/null || true @dirrm share/pear/bootstrap/Archive @dirrm share/pear/bootstrap/Console |