summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-03-07 16:07:31 +0000
committeragc <agc@pkgsrc.org>2001-03-07 16:07:31 +0000
commit38340971a9fecda49f818e4e6893b8c0efafbae7 (patch)
treeb86079e879c0afd3c2a8544d49b85fea958e59aa /sysutils
parent573662c2365eba5cda51bf405a6f3fcc96e5853f (diff)
downloadpkgsrc-38340971a9fecda49f818e4e6893b8c0efafbae7.tar.gz
Make this work in the presence of digest, and the absence of an MD5
definition
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index adfe1211ce8..69f26bff05f 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2001/02/28 16:50:58 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2001/03/07 16:07:31 agc Exp $
# FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp
#
@@ -35,7 +35,7 @@ MAKE_ENV+= CPPFLAGS=
post-extract:
@(cd ${WRKDIR} ; \
EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
- CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
+ CALCMD5=`${DIGEST} MD5 ${SRCBALL_NAME}.tar` ; \
if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \