Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164744 Details for
Bug 230725
[Future EAPI] Ability to automatically pass arguments to src_configure/src_compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Implement the src_configure()
portage-adddefaultconfigureusewiths.patch (text/plain), 1.55 KB, created by
Thomas Anderson (tanderson) (RETIRED)
on 2008-09-06 17:25:54 UTC
(
hide
)
Description:
Implement the src_configure()
Filename:
MIME Type:
Creator:
Thomas Anderson (tanderson) (RETIRED)
Created:
2008-09-06 17:25:54 UTC
Size:
1.55 KB
patch
obsolete
>Index: bin/ebuild.sh >=================================================================== >--- bin/ebuild.sh (revision 11495) >+++ bin/ebuild.sh (working copy) >@@ -516,8 +516,15 @@ > --datadir=/usr/share \ > --sysconfdir=/etc \ > --localstatedir=/var/lib \ >+ "${DEFAULT_SRC_CONFIGURE_PARAMS[@]}" \ >+ $(for s in "${DEFAULT_SRC_CONFIGURE_USE_ENABLES[@]}" ; do \ >+ use_enable ${s} ; \ >+ done ) >+ $(for s in "${DEFAULT_SRC_CONFIGURE_USE_WITHS[@]}" ; do \ >+ use_with ${s} ; \ >+ done ) > "$@" \ >- ${LOCAL_EXTRA_ECONF} >+ ${LOCAL_EXTRA_ECONF} \ > > if ! ${CONFCACHE} ${CONFCACHE_ARG} ${TMP_CONFCACHE_DIR} "${ECONF_SOURCE}/configure" \ > --prefix=/usr \ >@@ -527,6 +534,13 @@ > --datadir=/usr/share \ > --sysconfdir=/etc \ > --localstatedir=/var/lib \ >+ "${DEFAULT_SRC_CONFIGURE_PARAMS[@]}" \ >+ $(for s in "${DEFAULT_SRC_CONFIGURE_USE_ENABLES[@]}" ; do \ >+ use_enable ${s} ; \ >+ done ) >+ $(for s in "${DEFAULT_SRC_CONFIGURE_USE_WITHS[@]}" ; do \ >+ use_with ${s} ; \ >+ done ) > "$@" \ > ${LOCAL_EXTRA_ECONF}; then > >@@ -629,13 +643,20 @@ > > _eapi2_src_configure() { > if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then >+ if [ ${EAPI} != 2 ]; then >+ unset $DEFAULT_SRC_CONFIGURE_USE_ENABLES >+ unset $DEFAULT_SRC_CONFIGURE_USE_WITHS >+ fi > econf > fi > } > > _eapi2_src_compile() { > if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then >- emake || die "emake failed" >+ if [ ${EAPI} != 2 ]; then >+ unset ${DEFAULT_SRC_COMPILE_EMAKE_PARAMS} >+ fi >+ emake "${DEFAULT_SRC_COMPILE_EMAKE_PARAMS[@]}"|| die "emake failed" > fi > } >
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 230725
:
163759
| 164744