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 | |
parent | dc89b990b4a1c33249cb20597ca65fcb90bf694f (diff) | |
download | freebsd-ports-gnome-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.tar.gz freebsd-ports-gnome-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.tar.zst freebsd-ports-gnome-6bd5e80048ee0b32203c64af31b3ad41b0d6fdd0.zip |
- Fix handling of lib/compat/pkg directory
Approved by: sem (maintainer)
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/pkg-plist | 3 | ||||
-rw-r--r-- | sysutils/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portupgrade/pkg-plist | 3 |
4 files changed, 8 insertions, 2 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 1d5044503ab2..7cf8b1ab25b3 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 8a14a576c813..0c7152887dbf 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 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 |