mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-wm/windowmaker: fix compilation with LINGUAS unset, bug #564694
Package-Manager: portage-2.2.23
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user