diff options
Diffstat (limited to 'shells/tcsh/Makefile')
-rw-r--r-- | shells/tcsh/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index ad9b95a0aab..6d01ab46198 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.74 2012/10/10 19:26:16 dholland Exp $ +# $NetBSD: Makefile,v 1.75 2013/05/11 16:39:09 riastradh Exp $ DISTNAME= tcsh-6.18.01 PKGREVISION= 4 @@ -26,6 +26,12 @@ PLIST_SRC= ${WRKDIR}/PLIST-src LOWER_OPSYS_VERSUFFIX= ${OS_VERSION:S/5./2./} .endif +.if ${USE_CROSS_COMPILE} == "yes" +# 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} +.endif + PKG_SHELL?= bin/tcsh INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 |