pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libX11 USE_CROSS_COMPILE is always defined, just u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/353561f4ecba
branches:  trunk
changeset: 531526:353561f4ecba
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 01 16:50:24 2007 +0000

description:
USE_CROSS_COMPILE is always defined, just use it.

diffstat:

 x11/libX11/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5249da34fa6b -r 353561f4ecba x11/libX11/Makefile
--- a/x11/libX11/Makefile       Wed Aug 01 16:46:16 2007 +0000
+++ b/x11/libX11/Makefile       Wed Aug 01 16:50:24 2007 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index