From 0ffa58c698c1b62ae9db2e3679c299399b29ad6d Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 6 Sep 2016 15:56:24 +0200 Subject: [PATCH] gpsbabel: fix PIE See #4572 --- srcpkgs/gpsbabel/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gpsbabel/template b/srcpkgs/gpsbabel/template index bdc316b7f6a..04d7d124c96 100644 --- a/srcpkgs/gpsbabel/template +++ b/srcpkgs/gpsbabel/template @@ -1,7 +1,7 @@ # Template file for 'gpsbabel' pkgname=gpsbabel version=1.5.3 -revision=1 +revision=2 build_style=gnu-configure maintainer="Philipp Hirsch " homepage="http://www.gpsbabel.org/" @@ -22,6 +22,10 @@ do_build(){ make doc cd gui qmake + sed -i Makefile \ + -e"s;^\(CFLAGS.*=.*\);& $CFLAGS;" \ + -e"s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;" \ + -e"s;^\(LFLAGS.*=.*\);& $LDFLAGS;" make ${makejobs} }