diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template index 3ac6df7d89..440036c477 100644 --- a/srcpkgs/halibut/template +++ b/srcpkgs/halibut/template @@ -1,7 +1,7 @@ # Template file for 'halibut' pkgname=halibut version=1.1 -revision=3 +revision=4 build_style=gnu-makefile CFLAGS='-I../charset -I../build' disable_parallel_build=yes @@ -13,9 +13,12 @@ short_desc="Yet another free document preparation system" maintainer="Christian Neukirchen " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/" -distfiles="http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.1.tar.gz" +distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}.tar.gz" checksum=b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0 +pre_build() { + export LIBS="$LDFLAGS" +} do_install() { if [ "$CROSS_BUILD" ]; then export HALIBUT=/usr/bin/halibut