summaryrefslogtreecommitdiff
path: root/mk/patch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-06 15:28:51 +0000
committerjlam <jlam@pkgsrc.org>2006-06-06 15:28:51 +0000
commit41bb50859e783b8bd4119f89dfc804da8f3e5489 (patch)
treebe674509e8d58469464756dfb6ad0bf39e42afa9 /mk/patch
parent89b3d028fad295b2cd24e17ea5a16301594a2976 (diff)
downloadpkgsrc-41bb50859e783b8bd4119f89dfc804da8f3e5489.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/patch')
-rw-r--r--mk/patch/bsd.patch-vars.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/mk/patch/bsd.patch-vars.mk b/mk/patch/bsd.patch-vars.mk
index 6ebb08d1729..418b51965da 100644
--- a/mk/patch/bsd.patch-vars.mk
+++ b/mk/patch/bsd.patch-vars.mk
@@ -1,8 +1,8 @@
-# $NetBSD: bsd.patch-vars.mk,v 1.1 2006/06/06 04:48:19 jlam Exp $
+# $NetBSD: bsd.patch-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.patch.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.patch.mk is included.
#
# The following variables may be set in a package Makefile:
#
@@ -22,7 +22,8 @@
# the patches in ${PATCHDIR}.
#
-PATCHDIR?= ${.CURDIR}/patches
+# The default PATCHDIR is currently set in bsd.prefs.mk
+#PATCHDIR?= ${.CURDIR}/patches
.if (defined(PATCHFILES) && !empty(PATCHFILES)) || \
(defined(PATCHDIR) && exists(${PATCHDIR})) || \