summaryrefslogtreecommitdiff
path: root/mk/buildlink3/bsd.buildlink3.mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-05 17:00:12 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-05 17:00:12 +0000
commit703534638e1b14c709524b91c23a72b8d160e7d7 (patch)
tree9d1592a95fb89eeea1fb0f24b9ab7976b90ee4ff /mk/buildlink3/bsd.buildlink3.mk
parenta63bcd3ba7fb59ebb201e78fa70d75b6e75d5b62 (diff)
downloadpkgsrc-703534638e1b14c709524b91c23a72b8d160e7d7.tar.gz
Ensure USE_BUILTIN.<pkg> is defined before checking its value, fixes
last problems seen when using X11_TYPE=XFree86.
Diffstat (limited to 'mk/buildlink3/bsd.buildlink3.mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 7ac811e2b7e..dd11a5c06c2 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.136 2004/03/31 07:12:31 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.137 2004/04/05 17:00:12 xtraeme Exp $
#
# An example package buildlink3.mk file:
#
@@ -224,7 +224,8 @@ _BLNK_PACKAGES+= ${_pkg_}
# directly or indirectly depends on.
#
_BLNK_RECURSIVE_DEPENDS= # empty
-.for _pkg_ in ${_BLNK_PACKAGES}
+.for _pkg_ in ${_BLNK_PACKAGES}
+USE_BUILTIN.${_pkg_}?= no
. if empty(_BLNK_RECURSIVE_DEPENDS:M${_pkg_}) && \
!empty(USE_BUILTIN.${_pkg_}:M[nN][oO])
_BLNK_RECURSIVE_DEPENDS+= ${_pkg_}
@@ -803,7 +804,7 @@ do-buildlink: ${_target_}
# The configure process usually tests for outlandish or missing things
# that we don't want polluting the argument cache.
#
-CONFIGURE_ENV+= BUILDLINK_UPDATE_CACHE=no
+CONFIGURE_ENV+= BUILDLINK_UPDATE_CACHE=yes
# There are three different parts we can add to the common transforming
# cache to speed things up: