From 8f885be9dfd96f7c102fa059b6d160548f4c54f3 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 3 Nov 2019 10:39:10 +0100 Subject: [PATCH] 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 --- app-arch/xar/xar-1.8-r3.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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() { -- 2.26.2