Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23693 Details for
Bug 37782
einstall() used strongly deprecated environment for install root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild-destdir.diff
ebuild.diff (text/plain), 1.17 KB, created by
Stanislav Brabec
on 2004-01-12 12:34:32 UTC
(
hide
)
Description:
ebuild-destdir.diff
Filename:
MIME Type:
Creator:
Stanislav Brabec
Created:
2004-01-12 12:34:32 UTC
Size:
1.17 KB
patch
obsolete
>--- /usr/lib/portage/bin/ebuild.sh.orig 2004-01-06 21:30:20.000000000 +0100 >+++ /usr/lib/portage/bin/ebuild.sh 2004-01-12 21:21:53.000000000 +0100 >@@ -343,6 +343,42 @@ > } > > einstall() { >+ local ancient_install_style=true >+ eval $( >+ find -name Makefile 2>/dev/null | >+ while read file ; do >+ if fgrep -q DESTDIR "$file" ; then >+ echo ancient_install_style=false >+ break >+ fi >+ done >+ ) >+ if $ancient_install_style ; then >+ ewarn "*** Package is not compatible with DESTDIR einstall style." >+ ewarn "*** Please use einstall_ancient() instead of einstall()." >+ einstall_ancient "$@" >+ else >+# FIXME. Remove this line after finishing of tests. >+ ewarn "*** Using DESTDIR einstall() style." >+ einstall_destdir "$@" >+ fi >+} >+ >+# FIXME: This should be renamed in future to einstall() >+einstall_destdir() { >+ if [ -f ./Makefile ] ; then >+ if [ ! -z "${PORTAGE_DEBUG}" ]; then >+ make -n DESTDIR=${D} \ >+ "$@" install >+ fi >+ make DESTDIR=${D} \ >+ "$@" install || die "einstall failed" >+ else >+ die "no Makefile found" >+ fi >+} >+ >+einstall_ancient() { > if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then > if [ ! -z "${PORTAGE_DEBUG}" ]; then > make -n prefix=${D}/usr \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37782
: 23693