tc-play: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-10 23:43:08 +02:00
parent 49ec2e3435
commit 0c5ab7b33d

View file

@ -1,7 +1,7 @@
# Template file for 'tc-play'
pkgname=tc-play
version=2.0
revision=1
revision=2
build_style=gnu-makefile
make_build_args="-f Makefile.classic PBKDF_BACKEND=gcrypt"
make_build_target="tcplay"
@ -15,6 +15,9 @@ homepage="https://github.com/bwalex/tc-play"
distfiles="https://github.com/bwalex/${pkgname}/archive/v${version}.tar.gz"
checksum=0e17890f37e862746364b10bad62bbd9f3e2b2811a24b07df12eff266534e42d
pre_build() {
sed -i Makefile.classic -e"s; -o tcplay; ${LDFLAGS}&;"
}
post_install() {
vlicense LICENSE
}