diff options
author | rillig <rillig@pkgsrc.org> | 2007-08-16 07:42:53 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-08-16 07:42:53 +0000 |
commit | fca91bf3c4daa394dc9c9de2b9c5e39985410975 (patch) | |
tree | 904c52f737655a8b2d5989a5b9d42a6eef82e4b4 /mk | |
parent | d8b301cc5a330f30065c5b6be39ff4d3bded565b (diff) | |
download | pkgsrc-fca91bf3c4daa394dc9c9de2b9c5e39985410975.tar.gz |
Added a variable DEFAULT_DISTFILES that can be used when adding
distfiles to DISTFILES.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/fetch/bsd.fetch-vars.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mk/fetch/bsd.fetch-vars.mk b/mk/fetch/bsd.fetch-vars.mk index d1e3be17803..06e508b315d 100644 --- a/mk/fetch/bsd.fetch-vars.mk +++ b/mk/fetch/bsd.fetch-vars.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.fetch-vars.mk,v 1.7 2007/07/27 14:24:53 joerg Exp $ +# $NetBSD: bsd.fetch-vars.mk,v 1.8 2007/08/16 07:42:53 rillig Exp $ # # This Makefile fragment is included separately by bsd.pkg.mk and # defines some variables which must be defined earlier than where @@ -20,12 +20,19 @@ # # DISTFILES is the list of distribution files that are fetched. # +# System-provided variables: +# +# DEFAULT_DISTFILES +# The default value for DISTFILES. This can be used when you need +# more than the usual distfiles. +# # The default DISTDIR is currently set in bsd.prefs.mk. #DISTDIR?= ${PKGSRCDIR}/distfiles _DISTDIR= ${DISTDIR}/${DIST_SUBDIR} -DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} +DEFAULT_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES?= ${DEFAULT_DISTFILES} # "Failover" fetching requires the digest tool to compute checksums to # verify any fetched files. But if no checksumming is requested, don't |