aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-27 14:14:42 +0800
committerknu <knu@FreeBSD.org>2001-08-27 14:14:42 +0800
commitd1fedfe85871c0367f0bed91ad6db1d774769fbb (patch)
tree13af3df823678f87669fc0bb5d2d5d0bab117b00 /sysutils
parentf1db351319dccea88972b8235c4e63efb73d6ab6 (diff)
downloadfreebsd-ports-gnome-d1fedfe85871c0367f0bed91ad6db1d774769fbb.tar.gz
freebsd-ports-gnome-d1fedfe85871c0367f0bed91ad6db1d774769fbb.tar.zst
freebsd-ports-gnome-d1fedfe85871c0367f0bed91ad6db1d774769fbb.zip
Fix a typo in pkgtools.rb to unbreak pkgdepfix.
Reported by: "Li-lun Wang (Leland Wang)" <llwang@infor.org>
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 664b983ed0de..6489387c8423 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/portupgrade-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010827
+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 %r:chdir_do \{:, "chdir_do(dir) {"' ${WRKSRC}/pkgtools.rb
do-install:
cd ${WRKSRC} && ${RUBY} install.rb
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 664b983ed0de..6489387c8423 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010827
+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 %r:chdir_do \{:, "chdir_do(dir) {"' ${WRKSRC}/pkgtools.rb
do-install:
cd ${WRKSRC} && ${RUBY} install.rb