tomb: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-11 14:33:06 +02:00
parent 9c57fe1315
commit 7f2ca9bbbd

View file

@ -1,8 +1,9 @@
# Template file for 'tomb'
pkgname=tomb
version=2.2
revision=1
revision=2
wrksrc=Tomb-${version}
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libnotify-devel gtk+-devel"
depends="sudo gnupg cryptsetup pinentry"
@ -13,6 +14,10 @@ homepage="https://www.dyne.org/software/tomb/"
distfiles="https://github.com/dyne/Tomb/archive/v${version}.tar.gz"
checksum=06d586879b6384237eb9ef573d4af0f98bd800dc2afb97dbb5a4fd5c5e5523f3
pre_build() {
sed -i extras/gtk-tray/Makefile \
-e's;$(CC) ;$(CC) $(CFLAGS) $(LDFLAGS) ;'
}
do_install() {
vbin tomb
vman doc/tomb.1