summaryrefslogtreecommitdiff
path: root/x11/libXt
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-10 00:40:27 +0000
committerriastradh <riastradh>2013-05-10 00:40:27 +0000
commit75dbb2f9a26f67f477e44ba280fa89257107e26a (patch)
tree33599f51a8cc7b4b9b4fe23131f9f99e0cd3e938 /x11/libXt
parent721769dda372a0e70ab3e0f552a1c6fd36e6db18 (diff)
downloadpkgsrc-75dbb2f9a26f67f477e44ba280fa89257107e26a.tar.gz
Fix x11/libXt cross-build.
The configure script, not just the makefile, needs to know about the native C compiler. ok agc
Diffstat (limited to 'x11/libXt')
-rw-r--r--x11/libXt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile
index a1e63016b50..550116ab065 100644
--- a/x11/libXt/Makefile
+++ b/x11/libXt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/10/29 05:06:36 asau Exp $
+# $NetBSD: Makefile,v 1.18 2013/05/10 00:40:27 riastradh Exp $
#
DISTNAME= libXt-1.1.3
@@ -28,7 +28,7 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
-MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
+CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
.endif
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h