Created
August 4, 2012 21:06
-
-
Save hasufell/3259949 to your computer and use it in GitHub Desktop.
implement bug 379497
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- phase-helpers.sh | |
+++ phase-helpers.sh | |
@@ -420,13 +420,20 @@ | |
done | |
fi | |
- # EAPI=4 adds --disable-dependency-tracking to econf | |
- if ! has "$EAPI" 0 1 2 3 3_pre2 && \ | |
- "${ECONF_SOURCE}/configure" --help 2>/dev/null | \ | |
- grep -q disable-dependency-tracking ; then | |
- set -- --disable-dependency-tracking "$@" | |
- fi | |
- | |
+ conf_help=$("${ECONF_SOURCE}/configure" --help 2>/dev/null) | |
+ | |
+ case ${conf_help} in | |
+ # make build log verbose by default | |
+ *--disable-silent-rules*) | |
+ set -- --disable-silent-rules "$@";; | |
+ esac | |
+ case ${conf_help} in | |
+ # EAPI=4 adds --disable-dependency-tracking to econf | |
+ *--disable-dependency-tracking*) | |
+ ! has "$EAPI" 0 1 2 3 3_pre2 && | |
+ set -- --disable-dependency-tracking "$@";; | |
+ esac | |
+ | |
# if the profile defines a location to install libs to aside from default, pass it on. | |
# if the ebuild passes in --libdir, they're responsible for the conf_libdir fun. | |
local CONF_LIBDIR LIBDIR_VAR="LIBDIR_${ABI}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment