From 68b126ec35200d35c0552224158293c49a9492d2 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 11 Aug 2001 10:07:05 +0000 Subject: Add a hotfix to support the "MD5 (file) = IGNORE" case. --- sysutils/portupgrade/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysutils/portupgrade') diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 16fb600aa621..34478d947f6b 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/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 -- cgit