summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-11 16:43:50 +0000
committerriastradh <riastradh>2013-05-11 16:43:50 +0000
commitf180ce53948c8ff5997bd05446c0e87940110a07 (patch)
treef11c67d7bde0d5635ca1f9abcc3e026b1247fb14 /shells
parent61f0f98c8588d4f8e6c57ffb5289c1c435e16460 (diff)
downloadpkgsrc-f180ce53948c8ff5997bd05446c0e87940110a07.tar.gz
Oops -- use the proper conditional for USE_CROSS_COMPILE.
Had been flailing when the CONFIGURE_ENV setting didn't take, but this turned out to be a red herring, and I forgot to back it out before commit.
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index 6d01ab46198..afa2241b05e 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2013/05/11 16:39:09 riastradh Exp $
+# $NetBSD: Makefile,v 1.76 2013/05/11 16:43:50 riastradh Exp $
DISTNAME= tcsh-6.18.01
PKGREVISION= 4
@@ -26,7 +26,7 @@ PLIST_SRC= ${WRKDIR}/PLIST-src
LOWER_OPSYS_VERSUFFIX= ${OS_VERSION:S/5./2./}
.endif
-.if ${USE_CROSS_COMPILE} == "yes"
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
# XXX Should use CONFIGURE_ENV, but the configure script disregards
# $CC_FOR_GETHOST in the environment and sets it to cc.
MAKE_FLAGS+= CC_FOR_GETHOST=${NATIVE_CC:Q}