dhcpcd-qt: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-05 21:30:20 +02:00
parent 039dc6511a
commit 2ef6b95eed
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dhcpcd-qt'
pkgname=dhcpcd-qt
version=0.7.5
revision=2
revision=3
wrksrc="dhcpcd-ui-${version}"
build_style=gnu-configure
configure_args="--with-qt --without-dhcpcd-online --without-icons --with-notification"
@ -15,6 +15,13 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-ui-$version.tar.bz2"
checksum=2dae2108605867aba78d98cc9e56e22d7b751eedc3f7e6d689d42d08e706aaf3
post_configure() {
sed -i src/dhcpcd-qt/Makefile \
-e "s;^\(CFLAGS.*=.*\);& ${CFLAGS};" \
-e "s;^\(CXXFLAGS.*=.*\);& ${CXXFLAGS};" \
-e "s;^\(LFLAGS.*=.*\);& ${LDFLAGS};"
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}