summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-16 18:37:07 +0000
committerjoerg <joerg>2009-03-16 18:37:07 +0000
commit15d3cf764dc04de94b7ae72dc1e1fbdcde2bd8e1 (patch)
tree09a78dfb312d4f56cab289a76555719613ce6d67 /mk/buildlink3
parent7d5f954e2dd48ef9051e56ed9e5f8935755af553 (diff)
downloadpkgsrc-15d3cf764dc04de94b7ae72dc1e1fbdcde2bd8e1.tar.gz
Move _SYS_VARS processing to a point where BUILDLINK_PACKAGES is
finalised.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk28
1 files changed, 14 insertions, 14 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 77f7ca7001e..6336939ab02 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.203 2008/06/22 23:54:06 dholland Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.204 2009/03/16 18:37:07 joerg Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -81,19 +81,6 @@
# BUILDLINK_* public buildlink-related variables usable in other Makefiles
# _BLNK_* private buildlink-related variables to this Makefile
-_VARGROUPS+= bl3
-.for v in BINDIR CFLAGS CPPFLAGS DEPENDS LDFLAGS LIBS
-_SYS_VARS.bl3+= BUILDLINK_${v}
-.endfor
-.for p in ${BUILDLINK_PACKAGES}
-. for v in AUTO_VARS BUILTIN_MK CONTENTS_FILTER CPPFLAGS DEPMETHOD FILES_CMD INCDIRS IS_DEPOT LDFLAGS LIBDIRS PKGNAME PREFIX RPATHDIRS
-_SYS_VARS.bl3+= BUILDLINK_${v}.${p}
-. endfor
-. for v in IGNORE_PKG USE_BUILTIN
-_SYS_VARS.bl3+= ${v}.${p}
-. endfor
-.endfor
-
.if ${PKG_DEBUG_LEVEL} > 0
ECHO_BUILDLINK_MSG?= ${ECHO}
.else
@@ -149,6 +136,19 @@ _BLNK_PACKAGES+= ${_pkg_}
. endif
.endfor
+_VARGROUPS+= bl3
+.for v in BINDIR CFLAGS CPPFLAGS DEPENDS LDFLAGS LIBS
+_SYS_VARS.bl3+= BUILDLINK_${v}
+.endfor
+.for p in ${BUILDLINK_PACKAGES}
+. for v in AUTO_VARS BUILTIN_MK CONTENTS_FILTER CPPFLAGS DEPMETHOD FILES_CMD INCDIRS IS_DEPOT LDFLAGS LIBDIRS PKGNAME PREFIX RPATHDIRS
+_SYS_VARS.bl3+= BUILDLINK_${v}.${p}
+. endfor
+. for v in IGNORE_PKG USE_BUILTIN
+_SYS_VARS.bl3+= ${v}.${p}
+. endfor
+.endfor
+
# By default, every package receives a full dependency.
.for _pkg_ in ${_BLNK_PACKAGES}
BUILDLINK_DEPMETHOD.${_pkg_}?= full