diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-17 19:29:05 +0800 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-17 19:29:05 +0800 |
commit | 3f01e5bc4c82439a393f4607632be56fb1bbc2e6 (patch) | |
tree | 91ec98ef1722de794680012de75e7e71697298ce /sysutils/portupgrade | |
parent | aca5c8ad90bde465204f016bfcbc7a0930a4bf9b (diff) | |
download | freebsd-ports-gnome-3f01e5bc4c82439a393f4607632be56fb1bbc2e6.tar.gz freebsd-ports-gnome-3f01e5bc4c82439a393f4607632be56fb1bbc2e6.tar.zst freebsd-ports-gnome-3f01e5bc4c82439a393f4607632be56fb1bbc2e6.zip |
Apply a hotfix against a bug introduced in the latest version where it
fails in error when one specifies -r and has an empty +REQUIRED_BY.
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r-- | sysutils/portupgrade/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 81b3d3fbfda7..339261a96fcf 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20010817 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.iDaemons.org/distfiles/ @@ -36,6 +37,7 @@ MANCOMPRESSED= yes post-patch: ${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb + ${RUBY} -i -pe 'sub %r:^(\s*if deps)\s*:, "\\1 && !deps.empty?\n"' ${WRKSRC}/pkgtools.rb do-install: cd ${WRKSRC} && ${RUBY} install.rb |