diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-17 11:29:05 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-17 11:29:05 +0000 |
commit | 3f01e5bc4c82439a393f4607632be56fb1bbc2e6 (patch) | |
tree | 91ec98ef1722de794680012de75e7e71697298ce /sysutils | |
parent | Use '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 'sysutils')
-rw-r--r-- | sysutils/portupgrade-devel/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portupgrade/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index 81b3d3fbfda7..339261a96fcf 100644 --- a/sysutils/portupgrade-devel/Makefile +++ b/sysutils/portupgrade-devel/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 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 |