summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
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}\//}