net-p2p/resilio-sync: pax-mark unconditionally
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>
Sun, 17 Nov 2019 09:48:15 +0000 (11:48 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 8 Dec 2019 10:08:14 +0000 (12:08 +0200)
Closes: https://bugs.gentoo.org/698286
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/13686
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild

index 95ea559330a006576db2a1f5c70fab57b56d6e6b..0b54d78848dc0bf89a122edcd3107d320e0eb661 100644 (file)
@@ -16,7 +16,7 @@ SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} )
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="pax_kernel"
+IUSE=""
 RESTRICT="bindist mirror"
 
 S="${WORKDIR}"
@@ -38,7 +38,7 @@ src_unpack() {
 
 src_install() {
        dobin usr/bin/rslsync
-       use pax_kernel && pax-mark m "${ED%/}"/usr/bin/rslsync
+       pax-mark m "${ED}"/usr/bin/rslsync
 
        doman resilio-sync.1
 
@@ -55,7 +55,7 @@ src_install() {
        # Generate sample config, uncomment config directives and change values
        insopts -orslsync -grslsync -m0644
        insinto /etc/resilio-sync
-       newins - config.json < <("${ED%/}"/usr/bin/rslsync --dump-sample-config | \
+       newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \
                sed \
                        -e "/storage_path/s|//| |g" \
                        -e "/pid_file/s|//| |g" \