aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel
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 /sysutils/portupgrade-devel
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 'sysutils/portupgrade-devel')
-rw-r--r--sysutils/portupgrade-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
index d0e863691719..d07824801018 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/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