summaryrefslogtreecommitdiff
path: root/shells/tcsh
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-11 16:43:50 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-11 16:43:50 +0000
commit06227a580c9cf4fcdc612dba4e0d9a653d6ec327 (patch)
treef11c67d7bde0d5635ca1f9abcc3e026b1247fb14 /shells/tcsh
parentc3eb33485fdc40569276123e74b384b6f34f5016 (diff)
downloadpkgsrc-06227a580c9cf4fcdc612dba4e0d9a653d6ec327.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/tcsh')
-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}