summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-27 06:14:42 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-27 06:14:42 +0000
commitc71e1f41de56568417731e4af506d50a76efb877 (patch)
tree2d95bf2a7e02cfe9e37ddb81ace8821767278549 /ports-mgmt
parentUpdate to 1.4 Build 127 (diff)
Fix a typo in pkgtools.rb to unbreak pkgdepfix.
Reported by: "Li-lun Wang (Leland Wang)" <llwang@infor.org>
Notes
Notes: svn path=/head/; revision=46954
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 664b983ed0de..6489387c8423 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/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/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 664b983ed0de..6489387c8423 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/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