commit:     1e4ad4895eb6acdd28c02e1b963de30c1be70837
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  2 12:47:01 2015 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Nov  2 12:47:18 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4ad489

x11-wm/windowmaker: fix compilation with LINGUAS unset, bug #564694

Package-Manager: portage-2.2.23

 x11-wm/windowmaker/windowmaker-0.95.7.ebuild | 2 +-
 x11-wm/windowmaker/windowmaker-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-wm/windowmaker/windowmaker-0.95.7.ebuild 
b/x11-wm/windowmaker/windowmaker-0.95.7.ebuild
index 31ec9aa..2fbceba 100644
--- a/x11-wm/windowmaker/windowmaker-0.95.7.ebuild
+++ b/x11-wm/windowmaker/windowmaker-0.95.7.ebuild
@@ -56,7 +56,7 @@ src_configure() {
        myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) 
$(use_enable xinerama)"
 
        if use nls; then
-               [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 
's:po/\(.*\)\.po$:\1:'`"
+               [[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 
's:po/\(.*\)\.po$:\1:' | xargs)"
        else
                myconf="${myconf} --disable-locale"
        fi

diff --git a/x11-wm/windowmaker/windowmaker-9999.ebuild 
b/x11-wm/windowmaker/windowmaker-9999.ebuild
index 2e5a778..0753568 100644
--- a/x11-wm/windowmaker/windowmaker-9999.ebuild
+++ b/x11-wm/windowmaker/windowmaker-9999.ebuild
@@ -62,7 +62,7 @@ src_configure() {
        myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) 
$(use_enable xinerama)"
 
        if use nls; then
-               [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 
's:po/\(.*\)\.po$:\1:'`"
+               [[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 
's:po/\(.*\)\.po$:\1:' | xargs)"
        else
                myconf="${myconf} --disable-locale"
        fi

Reply via email to