diff options
author | pav <pav@FreeBSD.org> | 2007-01-26 00:49:10 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-01-26 00:49:10 +0800 |
commit | 6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0 (patch) | |
tree | e09f9c8e12f07212334aa79ff11fda69fa29158a /ports-mgmt | |
parent | dc89b990b4a1c33249cb20597ca65fcb90bf694f (diff) | |
download | freebsd-ports-graphics-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.tar.gz freebsd-ports-graphics-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.tar.zst freebsd-ports-graphics-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.zip |
- Fix handling of lib/compat/pkg directory
Approved by: sem (maintainer)
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/pkg-plist | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 1d5044503ab..7cf8b1ab25b 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/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/ports-mgmt/portupgrade/pkg-plist b/ports-mgmt/portupgrade/pkg-plist index 8a14a576c81..0c7152887db 100644 --- a/ports-mgmt/portupgrade/pkg-plist +++ b/ports-mgmt/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 |