From 0c5ab7b33d4b3313b7f0d89340ac655f46bda39e Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Sat, 10 Sep 2016 23:43:08 +0200 Subject: [PATCH] tc-play: fix PIE See #4572 --- srcpkgs/tc-play/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/tc-play/template b/srcpkgs/tc-play/template index 1c31d4cc5af..5748ed39610 100644 --- a/srcpkgs/tc-play/template +++ b/srcpkgs/tc-play/template @@ -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 }