diff options
author | knu <knu@FreeBSD.org> | 2001-08-17 19:29:05 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-17 19:29:05 +0800 |
commit | 19a447f3c91fc58355a6b631402d0a55a06171ab (patch) | |
tree | 82a9e55271b80dbed0edbe39716af0a27bf3ea33 /sysutils | |
parent | 38888865b196c243277e9b52d8acb02ea395294f (diff) | |
download | freebsd-ports-graphics-19a447f3c91fc58355a6b631402d0a55a06171ab.tar.gz freebsd-ports-graphics-19a447f3c91fc58355a6b631402d0a55a06171ab.tar.zst freebsd-ports-graphics-19a447f3c91fc58355a6b631402d0a55a06171ab.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')
-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 81b3d3fbfda..339261a96fc 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 81b3d3fbfda..339261a96fc 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 |