summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-05-17 11:12:31 +0000
committeragc <agc@pkgsrc.org>2001-05-17 11:12:31 +0000
commit138260e643d8ec28c74bc91437312489d226cea8 (patch)
tree82c256a970086f512487702a7c1a20089d681eb5 /mk/bsd.pkg.mk
parentd67a3f63b3f4ba1684e1c9a35f65737bfcc21439 (diff)
downloadpkgsrc-138260e643d8ec28c74bc91437312489d226cea8.tar.gz
If there are no CKSUMFILES, don't try to append ${DIST_SUBDIR} when
setting _CKSUMFILES.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 65bb6c717c6..ee8ddd0952f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.735 2001/05/14 13:44:23 drochner Exp $
+# $NetBSD: bsd.pkg.mk,v 1.736 2001/05/17 11:12:31 agc Exp $
#
# This file is in the public domain.
#
@@ -998,7 +998,9 @@ CKSUMFILES:= ${CKSUMFILES:N${__tmp__}}
# List of all files, with ${DIST_SUBDIR} in front. Used for fetch and checksum.
.if defined(DIST_SUBDIR)
+.if ${CKSUMFILES} != ""
_CKSUMFILES?= ${CKSUMFILES:S/^/${DIST_SUBDIR}\//}
+.endif
_DISTFILES?= ${DISTFILES:S/^/${DIST_SUBDIR}\//}
_IGNOREFILES?= ${IGNOREFILES:S/^/${DIST_SUBDIR}\//}
_PATCHFILES?= ${PATCHFILES:S/^/${DIST_SUBDIR}\//}