Gentoo Archives: gentoo-dev

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-dev@l.g.o
Subject: Re: USE=doc gnustep-make broken (was: Re: [gentoo-dev] package.use.mask / package.use.stable.mask priority)
Date: Mon, 16 Jan 2017 08:10:40
Message-Id: 20170116091019.3e9cef48@enterprise.cafarelli.fr
In Reply to: USE=doc gnustep-make broken (was: Re: [gentoo-dev] package.use.mask / package.use.stable.mask priority) by David Haller
1 Le Sat, 14 Jan 2017 20:03:02 +0100
2 David Haller <gentoo@×××××××.de> a écrit:
3 > gnustep-base/gnustep-make-2.6.8.ebuild is broken when built with USE=doc,
4 > as it tries to install into the system, not the image. Easy fix:
5 >
6 > ====
7 > 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
8 > --- a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild 2017-01-14 19:55:10.658259392 +0100
9 > +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild 2017-01-14 19:55:17.158259179 +0100
10 > @@ -97,15 +97,15 @@
11 > src_compile() {
12 > emake
13 > # Prepare doc here (needed when no gnustep-make is already installed)
14 > if use doc ; then
15 > # If a gnustep-1 environment is set
16 > unset GNUSTEP_MAKEFILES
17 > pushd Documentation &> /dev/null
18 > - emake -j1 all install
19 > + emake -j1 all install DESTDIR="${D}"
20 > popd &> /dev/null
21 > fi
22 > }
23 >
24 > src_install() {
25 > # Get GNUSTEP_* variables
26 > . ./GNUstep.conf
27 > ====
28
29 This was also reported in an update to bug #585796, in fact the
30 workaround for USE=doc was not needed anymore for some versions (and
31 ended up running install parts in src_compile).
32
33 Fixed in current 2.6.8 ebuild (as it did not install anyway with
34 USE=doc):
35 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b60b455a60115d9226cb66b4b383ff057c8a023
36
37 --
38 Bernard Cafarelli (Voyageur)
39 Gentoo developer