pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Ensure USE_BUILTIN.<pkg> is defined befo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c2b9ab95266
branches:  trunk
changeset: 472158:2c2b9ab95266
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Apr 05 17:00:12 2004 +0000

description:
Ensure USE_BUILTIN.<pkg> is defined before checking its value, fixes
last problems seen when using X11_TYPE=XFree86.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7d063533ba96 -r 2c2b9ab95266 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Mon Apr 05 15:40:54 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Mon Apr 05 17:00:12 2004 +0000
@@ -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 @@
 # 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 @@
 # 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:



Home | Main Index | Thread Index | Old Index