From 25c5e6561721b69728cee2321706d6b5331c35ce Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Thu, 1 Sep 2016 21:02:57 +0200 Subject: [PATCH] foomatic-db-engine: fix PIE --- srcpkgs/foomatic-db-engine/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/foomatic-db-engine/template b/srcpkgs/foomatic-db-engine/template index 46e5ef648b..3dd143f6a8 100644 --- a/srcpkgs/foomatic-db-engine/template +++ b/srcpkgs/foomatic-db-engine/template @@ -1,7 +1,7 @@ # Template file for 'foomatic-db-engine' pkgname=foomatic-db-engine version=4.0.12 -revision=3 +revision=4 build_style=gnu-configure configure_args="--sbindir=/usr/bin --libdir=/usr/lib PERL_INSTALLDIRS=vendor" hostmakedepends="wget perl foomatic-db cups-filters ghostscript cups libxml2-devel" @@ -13,3 +13,8 @@ license="GPL-2" homepage="https://www.openprinting.org/" distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz" checksum=66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21 + +post_configure() { + # Compiling and linking in one step requires $(LDFLAGS) + sed -i Makefile -e's;$(CC) $(CFLAGS);& $(LDFLAGS);' +}