Summary: | portage-2.2.00.13827 regression with _eapi2_src_install is not supported | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Rabbe Fogelholm <rabbe> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rabbe Fogelholm
2009-07-16 07:11:11 UTC
works with portage-2.2.00.13683, masking v .13827 =/ somehow I was waiting for that :( Index: bin/ebuild.sh =================================================================== --- bin/ebuild.sh (revision 13826) +++ bin/ebuild.sh (working copy) @@ -605,7 +605,7 @@ } _eapi0_src_install() { - _eapi2_src_install + _eapi1_src_install } _eapi0_src_test() { @@ -632,7 +632,12 @@ } _eapi1_src_install() { - _eapi2_src_install + if use prefix ; then + # this avoids misc QA errors in Prefix because it doesn't exist + # by default + mkdir -p "${ED}" + return + fi } _eapi2_src_configure() { @@ -647,15 +652,6 @@ fi } -_eapi2_src_install() { - if use prefix ; then - # this avoids misc errors in Prefix because it doesn't exist - # by default - mkdir -p "${ED}" - return - fi -} - _eapi3_src_install() { if [[ -f Makefile || -f GNUmakefile || -f makefile ]] ; then emake DESTDIR="${D}" install @@ -672,6 +668,10 @@ else dodoc ${DOCS} fi + + # this avoids misc QA errors in Prefix because it doesn't exist + # by default + use prefix && mkdir -p "${ED}" } ebuild_phase() { revision 13829 fix delivered in portage-2.2.00.13830 Confirming: Successful emerge of poppler-glib 2009-07-17. |