Le Sat, 14 Jan 2017 20:03:02 +0100
David Haller <gen...@dhaller.de> a écrit:
> gnustep-base/gnustep-make-2.6.8.ebuild is broken when built with USE=doc,
> as it tries to install into the system, not the image. Easy fix:
> 
> ==== 
> 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
> --- a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild     2017-01-14 
> 19:55:10.658259392 +0100
> +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild     2017-01-14 
> 19:55:17.158259179 +0100
> @@ -97,15 +97,15 @@
>  src_compile() {
>       emake
>       # Prepare doc here (needed when no gnustep-make is already installed)
>       if use doc ; then
>               # If a gnustep-1 environment is set
>               unset GNUSTEP_MAKEFILES
>               pushd Documentation &> /dev/null
> -             emake -j1 all install
> +             emake -j1 all install DESTDIR="${D}"
>               popd &> /dev/null
>       fi
>  }
>  
>  src_install() {
>       # Get GNUSTEP_* variables
>       . ./GNUstep.conf
> ====

This was also reported in an update to bug #585796, in fact the
workaround for USE=doc was not needed anymore for some versions (and
ended up running install parts in src_compile).

Fixed in current 2.6.8 ebuild (as it did not install anyway with
USE=doc):
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b60b455a60115d9226cb66b4b383ff057c8a023

-- 
Bernard Cafarelli (Voyageur)
Gentoo developer

Reply via email to