summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc>2001-03-07 16:07:31 +0000
committeragc <agc>2001-03-07 16:07:31 +0000
commite6eac8e55d749e8d65f8d3b7914f4d23f562a39c (patch)
treeb86079e879c0afd3c2a8544d49b85fea958e59aa /sysutils
parentcb5fac0f7e8a473a0fe02b29077d73d82e81fd8c (diff)
downloadpkgsrc-e6eac8e55d749e8d65f8d3b7914f4d23f562a39c.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)" ; \