Skip to content

Commit

Permalink
app-arch/zpaq: Fix Hardened w/ USE=jit, #411521
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Jul 3, 2016
1 parent 7b99fb5 commit 2c9e3ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app-arch/zpaq/zpaq-7.13-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 2c9e3ae

Please sign in to comment.