summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-07-03 15:27:43 +0200
committerMichał Górny <mgorny@gentoo.org>2016-07-03 15:29:24 +0200
commit2c9e3ae1f1afaf8eefb25ed43ba4a077eab3d92f (patch)
treef40e210386215f08d65ed46fbebec978f9ac1f4b /app-arch/zpaq
parentapp-arch/zpaq: Merge libzpaq into the package (diff)
downloadgentoo-2c9e3ae1f1afaf8eefb25ed43ba4a077eab3d92f.tar.gz
gentoo-2c9e3ae1f1afaf8eefb25ed43ba4a077eab3d92f.tar.bz2
gentoo-2c9e3ae1f1afaf8eefb25ed43ba4a077eab3d92f.zip
app-arch/zpaq: Fix Hardened w/ USE=jit, #411521
Diffstat (limited to 'app-arch/zpaq')
-rw-r--r--app-arch/zpaq/zpaq-7.13-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-arch/zpaq/zpaq-7.13-r1.ebuild b/app-arch/zpaq/zpaq-7.13-r1.ebuild
index a05100ba5228..d4dbbe979a81 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
}