Hello,

Emerging windowmaker 0.95.7 fails on my ~amd64 gentoo linux system for
quite some time now. The problem is in the ebuild file, where the
LINGUAS variable is not being constructed correctly and ends up
including newline characters after each lingua. I  have modified the
ebuild so that all newlines are removed from the LINGUAS variable and
replaced with whitespace, which is what it should have been in the first
place.

Let me know if this patch is acceptable.

Timur
--- /usr/portage/x11-wm/windowmaker/windowmaker-0.95.7.ebuild	2015-08-11 23:31:02.000000000 +0300
+++ /usr/local/portage/x11-wm/windowmaker/windowmaker-0.95.7.ebuild	2015-10-31 23:37:14.116670525 +0300
@@ -56,7 +56,7 @@
 	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:' | tr '\012' '\040'`"
 	else
 		myconf="${myconf} --disable-locale"
 	fi

Reply via email to