summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-29 00:51:56 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-29 00:51:56 +0000
commitd769e5209640db457c0a8ebdacbe45b67b975edf (patch)
tree93fb886102208b39aa3922197af30c7e3f3973a1 /mk
parentcc676f3efd0096b417dfed2c39ec4a7d726baf0a (diff)
downloadpkgsrc-d769e5209640db457c0a8ebdacbe45b67b975edf.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++