summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-11-03 10:39:10 +0100
committerFabian Groffen <grobian@gentoo.org>2019-11-03 10:39:10 +0100
commit8f885be9dfd96f7c102fa059b6d160548f4c54f3 (patch)
treed57db9f0ee50b21be090dd1c491dac87a5f2e2b5 /app-arch
parentapp-arch/xar-1.8-r1: remove (diff)
downloadgentoo-8f885be9dfd96f7c102fa059b6d160548f4c54f3.tar.gz
gentoo-8f885be9dfd96f7c102fa059b6d160548f4c54f3.tar.bz2
gentoo-8f885be9dfd96f7c102fa059b6d160548f4c54f3.zip
app-arch/xar-1.8-r3: fix compile during install
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/xar/xar-1.8-r3.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-arch/xar/xar-1.8-r3.ebuild b/app-arch/xar/xar-1.8-r3.ebuild
index 17416980f251..2b1ae6a93b9c 100644
--- a/app-arch/xar/xar-1.8-r3.ebuild
+++ b/app-arch/xar/xar-1.8-r3.ebuild
@@ -45,6 +45,12 @@ src_prepare() {
# strip RPATH pointing to ED
cd "${S}"/src || die
sed -i -e 's/@RPATH@//' Makefile.inc.in || die
+
+ # avoid GNU make (bug?) behaviour of removing xar.o as intermediate
+ # file, this doesn't happen outside portage, but it does from the
+ # ebuild env, causing the install phase to re-compile xar.o and link
+ # the executable
+ echo ".PRECIOUS: @objroot@src/%.o" >> Makefile.inc.in || die
}
multilib_src_configure() {