pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch DIGEST is no longer defined, so use TOOLS_DIG...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a2a0f52ef80
branches:  trunk
changeset: 516067:0a2a0f52ef80
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jul 13 15:23:18 2006 +0000

description:
DIGEST is no longer defined, so use TOOLS_DIGEST instead.

diffstat:

 mk/fetch/fetch.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 106df5aa68bf -r 0a2a0f52ef80 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Thu Jul 13 15:14:37 2006 +0000
+++ b/mk/fetch/fetch.mk Thu Jul 13 15:23:18 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.6 2006/07/13 14:02:34 jlam Exp $
+# $NetBSD: fetch.mk,v 1.7 2006/07/13 15:23:18 jlam Exp $
 
 ######################################################################
 ### fetch (PUBLIC)
@@ -153,7 +153,7 @@
                                        if [ -z "$$alg" ]; then         \
                                                alg=${PATCH_DIGEST_ALGORITHM};\
                                        fi;                             \
-                                       CKSUM=`${DIGEST} $$alg < ${_DISTDIR}/$$bfile`; \
+                                       CKSUM=`${TOOLS_DIGEST} $$alg < ${_DISTDIR}/$$bfile`; \
                                        CKSUM2=`${AWK} '$$1 == "'$$alg'" && $$2 == "('$$file')" {print $$4; exit}' <${DISTINFO_FILE}`; \
                                        if [ "$$CKSUM" = "$$CKSUM2" -o "$$CKSUM2" = "IGNORE" ]; then \
                                                break;                  \



Home | Main Index | Thread Index | Old Index