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