diff options
author | riastradh <riastradh@pkgsrc.org> | 2013-05-10 00:40:27 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2013-05-10 00:40:27 +0000 |
commit | 59cbead209233963582340ce7e6d538517a77c99 (patch) | |
tree | 33599f51a8cc7b4b9b4fe23131f9f99e0cd3e938 /x11/libXt | |
parent | 4644d7d5163d9707812c0221071d457b9fb9da30 (diff) | |
download | pkgsrc-59cbead209233963582340ce7e6d538517a77c99.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/Makefile | 4 |
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 |