projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce13d46
)
fix --libdir detection when econf is passed whitespace/empty arguments ... those...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 7 Feb 2009 09:14:46 +0000
(09:14 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 7 Feb 2009 09:14:46 +0000
(09:14 -0000)
svn path=/main/trunk/; revision=12588
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 335eae748940a3cc4e21045413bb5418bfbda190..34e4f747bf28a08658b75f62c85e71612f778378 100755
(executable)
--- 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[= ]}))