summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2014-11-29 00:51:56 +0000
committerjoerg <joerg>2014-11-29 00:51:56 +0000
commit6ba0c61554064d86e7449f61f422a73ccb6f1ff8 (patch)
tree93fb886102208b39aa3922197af30c7e3f3973a1 /mk
parentbcaa8733fd791280df0413de4e7053f24bc4c3cf (diff)
downloadpkgsrc-6ba0c61554064d86e7449f61f422a73ccb6f1ff8.tar.gz
Export CWRAPPERS_CONFIG_DIR directly for now to deal with Makefiles
calling libtool or cc directly. Leave a note to fix those later.
Diffstat (limited to 'mk')
-rw-r--r--mk/cwrappers.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk
index 7ad57b4df34..ba7b3a963b5 100644
--- a/mk/cwrappers.mk
+++ b/mk/cwrappers.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cwrappers.mk,v 1.12 2014/11/27 23:44:10 joerg Exp $
+# $NetBSD: cwrappers.mk,v 1.13 2014/11/29 00:51:56 joerg Exp $
#
# This Makefile fragment implements integration of pkgtools/cwrappers.
@@ -11,6 +11,9 @@ CONFIGURE_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR}
MAKE_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR}
ALL_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR}
+# TODO: Fix direct calls to CC and LIBTOOL to provide correct environment.
+.export CWRAPPERS_CONFIG_DIR
+
CWRAPPERS_CONFIG.as= as
CWRAPPERS_CONFIG.cc= cc
CWRAPPERS_CONFIG.cxx= c++