aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-04-27 01:49:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-04-27 01:49:36 +0000
commitecca9860e12c2cf1c79b4c50c0990ab6f5d7571d (patch)
tree90380fac162e241389a549ec759490d1692a9006 /sysutils/lsof
parent8cf0b02204b1a0604388c9b72004e136b21554cb (diff)
downloadports-ecca9860e12c2cf1c79b4c50c0990ab6f5d7571d.tar.gz
ports-ecca9860e12c2cf1c79b4c50c0990ab6f5d7571d.zip
Notes
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index cc6a2c03c8ab..c930ca60ab05 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -51,7 +51,7 @@ SRCBALL_NAME= ${DISTNAME:S/_W$//}_src
.if !defined(FIXUP_RELEASE)
post-extract:
@( cd ${WRKDIR}/${DISTNAME} ; \
- EXPMD5=`${GREP} -m 1 MD5 README.${DISTNAME} | ${SED} 's/[ ]*//'` ; \
+ EXPMD5=`${SED} -n 's/^[[:blank:]]*\(MD5*=*\)/\1/p' README.${DISTNAME}` ; \
CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
${ECHO} "Expected and calculated MD5 signatures don't agree." ; \