pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/fetch Added a variable DEFAULT_DISTFILES that can b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9f6b7fd1958
branches:  trunk
changeset: 532341:a9f6b7fd1958
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 16 07:42:53 2007 +0000

description:
Added a variable DEFAULT_DISTFILES that can be used when adding
distfiles to DISTFILES.

diffstat:

 mk/fetch/bsd.fetch-vars.mk |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 1d925b3afb6f -r a9f6b7fd1958 mk/fetch/bsd.fetch-vars.mk
--- a/mk/fetch/bsd.fetch-vars.mk        Thu Aug 16 05:43:33 2007 +0000
+++ b/mk/fetch/bsd.fetch-vars.mk        Thu Aug 16 07:42:53 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index