summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-01 16:50:24 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-01 16:50:24 +0000
commit7fc035c0fea91c32202dafcad515cd304c44ea91 (patch)
tree4ab966d98eb96efe4f737f6230cb7fbb843642c3 /x11
parent4bb0dfb5acc103d881efa6fd27099cb8987326fb (diff)
downloadpkgsrc-7fc035c0fea91c32202dafcad515cd304c44ea91.tar.gz
USE_CROSS_COMPILE is always defined, just use it.
Diffstat (limited to 'x11')
-rw-r--r--x11/libX11/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index a175b265706..5edf5b42674 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/08/01 16:46:16 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2007/08/01 16:50:24 joerg Exp $
#
DISTNAME= libX11-1.1.2
@@ -29,7 +29,7 @@ PKGCONFIG_OVERRIDE+= x11.pc.in
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
-.if defined(USE_CROSS_COMPILE) && !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
.endif