From 59cbead209233963582340ce7e6d538517a77c99 Mon Sep 17 00:00:00 2001 From: riastradh Date: Fri, 10 May 2013 00:40:27 +0000 Subject: Fix x11/libXt cross-build. The configure script, not just the makefile, needs to know about the native C compiler. ok agc --- x11/libXt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/libXt') 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 -- cgit v1.2.3