diff options
author | agc <agc@pkgsrc.org> | 2001-03-07 16:07:31 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-03-07 16:07:31 +0000 |
commit | 38340971a9fecda49f818e4e6893b8c0efafbae7 (patch) | |
tree | b86079e879c0afd3c2a8544d49b85fea958e59aa /sysutils | |
parent | 573662c2365eba5cda51bf405a6f3fcc96e5853f (diff) | |
download | pkgsrc-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/Makefile | 4 |
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)" ; \ |