diff options
author | jlam <jlam> | 2002-10-09 10:24:34 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-09 10:24:34 +0000 |
commit | 3604d5b445be82e452eab8e9eca0f317c26709fe (patch) | |
tree | c2aa00179d5bcb274570b5a595b5968d6a9fe46f /mk | |
parent | e09f1b2d4f9ee7c41d965e4e514c332d737db6b6 (diff) | |
download | pkgsrc-3604d5b445be82e452eab8e9eca0f317c26709fe.tar.gz |
Allow BUILDLINK_ENV to override shell environment settings in
${CONFIGURE_ENV} and in ${MAKE_ENV} for the configure and build processes,
respectively. This allows overriding the value of "CC" passed to the
build, e.g.:
BUILDLINK_ENV+= CC="/usr/pkg/pthread/bin/pgcc"
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 163a5b21a2c..da1cac8f695 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.36 2002/10/08 01:06:33 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.37 2002/10/09 10:24:34 jlam Exp $ # # An example package buildlink2.mk file: # @@ -745,6 +745,13 @@ ${_alias_}: ${BUILDLINK_${_wrappee_}} . endfor # _alias_ .endfor # _wrappee_ +# Allow BUILDLINK_ENV to override shell environment settings in +# ${CONFIGURE_ENV} and in ${MAKE_ENV} for the configure and build processes, +# respectively. +# +CONFIGURE_ENV+= ${BUILDLINK_ENV} +MAKE_ENV+= ${BUILDLINK_ENV} + # OS-specific overrides for buildlink2 wrappers # _BLNK_WRAPPEES.SunOS?= CC CXX |