aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-04-27 09:49:36 +0800
committerobrien <obrien@FreeBSD.org>2006-04-27 09:49:36 +0800
commitaf1c82b11b86f900d4a295cf50ffa2503528323f (patch)
tree7e0a27265a1c4780efd8bf4aa73ac7e79c62a326 /sysutils/lsof
parentad81f4eb970d2906f5d57975ada13ec8c225aea3 (diff)
downloadfreebsd-ports-gnome-af1c82b11b86f900d4a295cf50ffa2503528323f.tar.gz
freebsd-ports-gnome-af1c82b11b86f900d4a295cf50ffa2503528323f.tar.zst
freebsd-ports-gnome-af1c82b11b86f900d4a295cf50ffa2503528323f.zip
Fix the build on FreeBSD 4.11.
PR: 96356 Submitted by: Auster Vl. <lrou@x.ua>
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." ; \