Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/xar/
Date: Sun, 03 Nov 2019 09:41:21
Message-Id: 1572773950.8f885be9dfd96f7c102fa059b6d160548f4c54f3.grobian@gentoo
1 commit: 8f885be9dfd96f7c102fa059b6d160548f4c54f3
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 3 09:39:10 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 3 09:39:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f885be9
7
8 app-arch/xar-1.8-r3: fix compile during install
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
12
13 app-arch/xar/xar-1.8-r3.ebuild | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/app-arch/xar/xar-1.8-r3.ebuild b/app-arch/xar/xar-1.8-r3.ebuild
17 index 17416980f25..2b1ae6a93b9 100644
18 --- a/app-arch/xar/xar-1.8-r3.ebuild
19 +++ b/app-arch/xar/xar-1.8-r3.ebuild
20 @@ -45,6 +45,12 @@ src_prepare() {
21 # strip RPATH pointing to ED
22 cd "${S}"/src || die
23 sed -i -e 's/@RPATH@//' Makefile.inc.in || die
24 +
25 + # avoid GNU make (bug?) behaviour of removing xar.o as intermediate
26 + # file, this doesn't happen outside portage, but it does from the
27 + # ebuild env, causing the install phase to re-compile xar.o and link
28 + # the executable
29 + echo ".PRECIOUS: @objroot@src/%.o" >> Makefile.inc.in || die
30 }
31
32 multilib_src_configure() {