From ebc421cee66af6a7c052444e28f58ef62adacdeb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:45:01 +0000 Subject: [PATCH] (trunk r12588) svn path=/main/branches/2.1.6/; revision=12869 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[= ]})) -- 2.26.2