From: Zac Medico Date: Wed, 11 Mar 2009 03:45:01 +0000 (-0000) Subject: (trunk r12588) X-Git-Tag: v2.1.6.8~208 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebc421cee66af6a7c052444e28f58ef62adacdeb;p=portage.git (trunk r12588) svn path=/main/branches/2.1.6/; revision=12869 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 335eae748..34e4f747b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -491,7 +491,7 @@ econf() { CONF_LIBDIR="${!LIBDIR_VAR}" fi unset LIBDIR_VAR - if [ -n "${CONF_LIBDIR}" ] && [ "${*/--libdir}" == "$*" ]; then + if [ -n "${CONF_LIBDIR}" ] && ! hasq --libdir=* "$@" ; then if [ "${*/--exec-prefix}" != "$*" ]; then local args="$(echo $*)" local -a pref=($(echo ${args/*--exec-prefix[= ]}))