diff options
author | jlam <jlam@pkgsrc.org> | 2006-06-06 15:28:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-06-06 15:28:51 +0000 |
commit | 3058ace76fb2a626712182cbb8d1c4ad1c522563 (patch) | |
tree | be674509e8d58469464756dfb6ad0bf39e42afa9 /mk/fetch | |
parent | 25020695c08c46417b890ec4e950d67c69bed90a (diff) | |
download | pkgsrc-3058ace76fb2a626712182cbb8d1c4ad1c522563.tar.gz |
Move some variable definitions out of bsd.prefs.mk and back into
bsd.pkg.mk. They didn't actually need to be defined in bsd.prefs.mk,
just somewhere before the "main" bsd.<phase>.mk files were included.
This moves some conditional (?=) definitions back into bsd.pkg.mk so
they won't conflict with any conditional definitions in package
Makefiles.
This should fix the "checksum" problems in lang/php-gd as noted here:
http://mail-index.netbsd.org/pkgsrc-users/2006/06/05/0012.html
where EXTRACT_SUFX had the wrong value due to the order in while *.mk
files were included.
Diffstat (limited to 'mk/fetch')
-rw-r--r-- | mk/fetch/bsd.fetch-vars.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mk/fetch/bsd.fetch-vars.mk b/mk/fetch/bsd.fetch-vars.mk index b5b6897d707..cd4006d68b9 100644 --- a/mk/fetch/bsd.fetch-vars.mk +++ b/mk/fetch/bsd.fetch-vars.mk @@ -1,8 +1,8 @@ -# $NetBSD: bsd.fetch-vars.mk,v 1.1 2006/06/06 03:05:48 jlam Exp $ +# $NetBSD: bsd.fetch-vars.mk,v 1.2 2006/06/06 15:28:52 jlam Exp $ # -# This Makefile fragment is included to bsd.prefs.mk and defines some -# variables which must be defined earlier than where bsd.fetch.mk -# is included. +# This Makefile fragment is included separately by bsd.pkg.mk and +# defines some variables which must be defined earlier than where +# bsd.fetch.mk is included. # # The following variables may be set by the user: # @@ -17,6 +17,8 @@ # DISTFILES is the list of distribution files that are fetched. # -DISTDIR?= ${PKGSRCDIR}/distfiles +# The default DISTDIR is currently set in bsd.prefs.mk. +#DISTDIR?= ${PKGSRCDIR}/distfiles + _DISTDIR= ${DISTDIR}/${DIST_SUBDIR} DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} |