diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-25 16:49:10 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-25 16:49:10 +0000 |
commit | f59f83b0169b3001fb2817e191c64d5d8986beff (patch) | |
tree | fabf4b6237c2286027d2427e99a7cfbb73971e9e /sysutils/portupgrade | |
parent | 4923f5b5a5c9b84912c7c536e5037ac039fb32a5 (diff) | |
download | ports-f59f83b0169b3001fb2817e191c64d5d8986beff.tar.gz ports-f59f83b0169b3001fb2817e191c64d5d8986beff.zip |
- Fix handling of lib/compat/pkg directory
Approved by: sem (maintainer)
Notes
Notes:
svn path=/head/; revision=183265
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r-- | sysutils/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portupgrade/pkg-plist | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 1d5044503ab2..7cf8b1ab25b3 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.2.2 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -89,5 +90,6 @@ post-install: install-ldconfig-file if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \ ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \ fi + ${MKDIR} ${PREFIX}/lib/compat/pkg .include <bsd.port.post.mk> diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist index 8a14a576c813..0c7152887dbf 100644 --- a/sysutils/portupgrade/pkg-plist +++ b/sysutils/portupgrade/pkg-plist @@ -1,5 +1,6 @@ @exec /bin/mkdir -p %D/lib/compat/pkg -@unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true +@dirrmtry lib/compat/pkg +@dirrmtry lib/compat sbin/pkg_deinstall sbin/pkg_fetch sbin/pkg_glob |