Index: bin/ebuild.sh =================================================================== --- bin/ebuild.sh (revision 11474) +++ bin/ebuild.sh (working copy) @@ -483,6 +483,18 @@ LOCAL_EXTRA_ECONF="--libdir=${CONF_LIBDIR_RESULT} ${LOCAL_EXTRA_ECONF}" fi + local arg param + if [[ $DEFAULT_CONFIG_ENABLE ]]; then + for arg in "${DEFAULT_CONFIG_ENABLE[@]}"; do + LOCAL_EXTRA_ECONF+=" $(use_enable $arg)" + done + fi + if [[ $DEFAULT_CONFIG_WITH ]]; then + for arg in "${DEFAULT_CONFIG_WITH[@]}"; do + LOCAL_EXTRA_ECONF+=" $(use_with $arg)" + done + fi + local TMP_CONFCACHE_DIR CONFCACHE_ARG if hasq confcache $FEATURES && ! hasq confcache $RESTRICT; then CONFCACHE="$(type -P confcache)"