tcsh: fix cross-build.

This commit is contained in:
Christian Neukirchen 2015-05-22 13:23:47 +02:00
parent 17ea57a656
commit a1bc23e78a
1 changed files with 3 additions and 0 deletions

View File

@ -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