From a1bc23e78ae35128d8ef80bf0aadd05d10d45f04 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 22 May 2015 13:23:47 +0200 Subject: [PATCH] tcsh: fix cross-build. --- srcpkgs/tcsh/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template index 7cb220cfa1f..cdce6b117bd 100644 --- a/srcpkgs/tcsh/template +++ b/srcpkgs/tcsh/template @@ -16,6 +16,9 @@ checksum=12e271e0b89e4259d9d6e8d525322e77340e7244cfbd199a591e5f8146285c49 post_extract() { sed -i '/define BSDWAIT/d' sh.proc.c } +pre_build() { + make CC_FOR_GETHOST="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" gethost +} post_install() { vconf ${FILESDIR}/csh.login vconf ${FILESDIR}/csh.cshrc