commit:     2c9e3ae1f1afaf8eefb25ed43ba4a077eab3d92f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 13:27:43 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 13:29:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9e3ae1

app-arch/zpaq: Fix Hardened w/ USE=jit, #411521

 app-arch/zpaq/zpaq-7.13-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-arch/zpaq/zpaq-7.13-r1.ebuild 
b/app-arch/zpaq/zpaq-7.13-r1.ebuild
index a05100b..d4dbbe9 100644
--- a/app-arch/zpaq/zpaq-7.13-r1.ebuild
+++ b/app-arch/zpaq/zpaq-7.13-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit flag-o-matic toolchain-funcs
+inherit flag-o-matic pax-utils toolchain-funcs
 
 MY_P=${PN}${PV/./}
 DESCRIPTION="Journaling incremental deduplicating archiving compressor"
@@ -38,11 +38,13 @@ src_compile() {
 
 src_test() {
        local -x LD_LIBRARY_PATH=".${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
+       use jit && pax-mark m zpaq
        default
 }
 
 src_install() {
        emake install PREFIX="${ED%/}"/usr LIBDIR="\$(PREFIX)/$(get_libdir)"
+       use jit && pax-mark m "${ED%/}"/usr/bin/zpaq
        einstalldocs
 }
 

Reply via email to