summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-11 10:07:05 +0000
committerknu <knu@FreeBSD.org>2001-08-11 10:07:05 +0000
commit7e517a7397bdc88a96c4cca417bed1a1e053c39d (patch)
tree4a7f90008c3a911473fc99325cdf8faf3382b013 /ports-mgmt
parentd1a39f075fbf96ec45a95fb88cadc7b8af90de3c (diff)
downloadFreeBSD-ports-7e517a7397bdc88a96c4cca417bed1a1e053c39d.zip
FreeBSD-ports-7e517a7397bdc88a96c4cca417bed1a1e053c39d.tar.gz
Add a hotfix to support the "MD5 (file) = IGNORE" case.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile3
-rw-r--r--ports-mgmt/portupgrade/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 16fb600..34478d9 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
+ ${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
+
do-install:
cd ${WRKSRC} && ${RUBY} install.rb
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 16fb600..34478d9 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
+ ${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
+
do-install:
cd ${WRKSRC} && ${RUBY} install.rb
OpenPOWER on IntegriCloud