games-emulation/zsnes: Call pax-mark unconditionally
authorJames Le Cuirot <chewi@gentoo.org>
Mon, 28 Oct 2019 21:32:03 +0000 (21:32 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 28 Oct 2019 21:38:33 +0000 (21:38 +0000)
This is what we normally do.

Closes: https://bugs.gentoo.org/698278
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-emulation/zsnes/metadata.xml
games-emulation/zsnes/zsnes-1.51-r7.ebuild

index 8eb5529c51c47904132c038166decf0e2f7300bb..d8c41ccdd533b63d3b6db7aef923bee040ea63ef 100644 (file)
@@ -7,7 +7,6 @@
   </maintainer>
   <use>
     <flag name="debug">Enable the builtin debugger</flag>
-    <flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
   </use>
   <upstream>
     <remote-id type="sourceforge">zsnes</remote-id>
index e7eec25d20356d573d2c48e0085876333eb8dd51..6a452751e0e7f92b5fb781d8928acab6b15d3121 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/zsnes/${PN}${PV//./}src.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="ao custom-cflags +debug opengl pax_kernel png"
+IUSE="ao custom-cflags +debug opengl png"
 
 RDEPEND="
        media-libs/libsdl[sound,video,abi_x86_32(-)]
@@ -109,9 +109,7 @@ src_install() {
        QA_TEXTRELS="usr/bin/zsnes"
 
        dobin zsnes
-       if use pax_kernel; then
-               pax-mark m "${D}""${GAMES_BINDIR}"/zsnes || die
-       fi
+       pax-mark m "${ED}${GAMES_BINDIR}"/zsnes
 
        newman linux/zsnes.1 zsnes.6