From b423a19bc01ee5fb66ed90c4d4d252242efabd36 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 24 May 2016 13:40:19 +0200 Subject: [PATCH] halibut: fix PIE. --- srcpkgs/halibut/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template index 3ac6df7d892..440036c4773 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