aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-01 02:44:46 +0800
committerknu <knu@FreeBSD.org>2001-09-01 02:44:46 +0800
commit96475fc3fa558740c8cf78ba54dc46ba9d1e6e26 (patch)
tree1bbcf844260d7085afc7b8a1d4f293963f27db7d /ports-mgmt
parentf439e178635726387908b8057acf56cc0f2029d1 (diff)
downloadfreebsd-ports-gnome-96475fc3fa558740c8cf78ba54dc46ba9d1e6e26.tar.gz
freebsd-ports-gnome-96475fc3fa558740c8cf78ba54dc46ba9d1e6e26.tar.zst
freebsd-ports-gnome-96475fc3fa558740c8cf78ba54dc46ba9d1e6e26.zip
D'oh. Fix a silly typo in portupgrade.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile2
-rw-r--r--ports-mgmt/portupgrade/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index d0e863691719..d07824801018 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010831
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -55,6 +56,7 @@ post-patch:
.for f in pkgdb.rb pkgtools.rb
${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f}
.endfor
+ ${RUBY} -i~ -pe 'sub!(/(make_cmdline\(portdir, .-V PKGNAME 2>\&1.)\}/, "\\1)}")' ${WRKSRC}/portupgrade
do-install:
cd ${WRKSRC} && ${RUBY} install.rb
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index d0e863691719..d07824801018 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010831
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -55,6 +56,7 @@ post-patch:
.for f in pkgdb.rb pkgtools.rb
${RUBY} -i~ -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/${f}
.endfor
+ ${RUBY} -i~ -pe 'sub!(/(make_cmdline\(portdir, .-V PKGNAME 2>\&1.)\}/, "\\1)}")' ${WRKSRC}/portupgrade
do-install:
cd ${WRKSRC} && ${RUBY} install.rb