halibut: fix PIE.

This commit is contained in:
Christian Neukirchen 2016-05-24 13:40:19 +02:00
parent f3d8235677
commit b423a19bc0

View file

@ -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 <chneukirchen@gmail.com>"
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