hedgewars: set nopie=yes

This is pascal mixed with qt4 c++. I see no way to patch the qmake generated
files to use our CXXFLAGS and LDFLAGS.

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-06 16:32:40 +02:00
parent 0ffa58c698
commit e4f5af8554
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'hedgewars' # Template file for 'hedgewars'
pkgname=hedgewars pkgname=hedgewars
version=0.9.22 version=0.9.22
revision=1 revision=2
wrksrc="${pkgname}-src-${version}" wrksrc="${pkgname}-src-${version}"
build_style=cmake build_style=cmake
configure_args=" configure_args="
@ -18,6 +18,7 @@ license="GPL-2"
homepage="http://hedgewars.org" homepage="http://hedgewars.org"
distfiles="http://download.gna.org/hedgewars/hedgewars-src-${version}.tar.bz2" distfiles="http://download.gna.org/hedgewars/hedgewars-src-${version}.tar.bz2"
checksum=b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192 checksum=b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192
nopie=yes
post_install() { post_install() {
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications