Gentoo Archives: gentoo-dev

From: David Haller <gentoo@×××××××.de>
To: gentoo-dev@l.g.o
Subject: USE=doc gnustep-make broken (was: Re: [gentoo-dev] package.use.mask / package.use.stable.mask priority)
Date: Sat, 14 Jan 2017 19:08:45
Message-Id: 20170114190302.vifxan5qdkaunhbm@grusum.endjinn.de
In Reply to: Re: [gentoo-dev] package.use.mask / package.use.stable.mask priority by Bernard Cafarelli
1 Hello,
2
3 On Wed, 11 Jan 2017, Bernard Cafarelli wrote:
4 >Le 11/01/2017 8:30, Ulrich Mueller a écrit :
5 [..]
6 >> Putting flag in arch/{amd64,x86}/package.use.stable.mask should solve
7 >> it.
8 >Indeed, I tested (and committed) this yesterday and repoman was happy again
9
10 gnustep-base/gnustep-make-2.6.8.ebuild is broken when built with USE=doc,
11 as it tries to install into the system, not the image. Easy fix:
12
13 ====
14 diff -U7 -r a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild
15 --- a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild 2017-01-14 19:55:10.658259392 +0100
16 +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild 2017-01-14 19:55:17.158259179 +0100
17 @@ -97,15 +97,15 @@
18 src_compile() {
19 emake
20 # Prepare doc here (needed when no gnustep-make is already installed)
21 if use doc ; then
22 # If a gnustep-1 environment is set
23 unset GNUSTEP_MAKEFILES
24 pushd Documentation &> /dev/null
25 - emake -j1 all install
26 + emake -j1 all install DESTDIR="${D}"
27 popd &> /dev/null
28 fi
29 }
30
31 src_install() {
32 # Get GNUSTEP_* variables
33 . ./GNUstep.conf
34 ====
35
36 HTH,
37 -dnh
38
39 --
40 What once was muesli is now of a colour and (from the looks) consistency
41 unheard of in dairy produce. At a second guess, it might be running for
42 political office by the time flattie's back.
43 -- The Bastard Flatmate From Hell

Replies