summaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-17 11:29:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-17 11:29:05 +0000
commit3f01e5bc4c82439a393f4607632be56fb1bbc2e6 (patch)
tree91ec98ef1722de794680012de75e7e71697298ce /ports-mgmt/portupgrade/Makefile
parentUse 'id -un' and 'id -gn' for user and group information, not 'logname'. (diff)
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.
Notes
Notes: svn path=/head/; revision=46359
Diffstat (limited to '')
-rw-r--r--ports-mgmt/portupgrade/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 81b3d3fbfda7..339261a96fcf 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/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