aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-17 19:29:05 +0800
committerknu <knu@FreeBSD.org>2001-08-17 19:29:05 +0800
commit19a447f3c91fc58355a6b631402d0a55a06171ab (patch)
tree82a9e55271b80dbed0edbe39716af0a27bf3ea33 /sysutils
parent38888865b196c243277e9b52d8acb02ea395294f (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--sysutils/portupgrade/Makefile2
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