diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2006-04-27 01:49:36 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2006-04-27 01:49:36 +0000 |
| commit | ecca9860e12c2cf1c79b4c50c0990ab6f5d7571d (patch) | |
| tree | 90380fac162e241389a549ec759490d1692a9006 /sysutils/lsof | |
| parent | Mark port conflicting with x11/mrxvt-devel (diff) | |
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/Makefile | 2 |
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." ; \ |
