xlockmore: fix PIE.

This commit is contained in:
Christian Neukirchen 2016-05-23 16:41:24 +02:00
parent 00e9cecf9b
commit 25d1f44f9a

View file

@ -1,7 +1,7 @@
# Template file for 'xlockmore'
pkgname=xlockmore
version=5.47
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="freetype-devel libXt-devel libXext-devel"
@ -13,6 +13,9 @@ distfiles="http://www.tux.org/~bagleyd/xlock/xlockmore-${version}.tar.xz"
checksum=94e3adee284eec09dc27405bfc24651446e8c6edd6a5bc565550b08f563a0d8d
CFLAGS="-D_DEFAULT_SOURCE"
pre_configure() {
export X_EXTRA_LIBS="$LDFLAGS"
}
do_install() {
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man/man1 \