--- /usr/portage/sys-apps/man/man-1.6.ebuild 2005-06-30 12:35:55.000000000 +0200 +++ /usr/local/portage/sys-apps/man/man-1.6.ebuild 2005-07-01 14:59:57.000000000 +0200 @@ -48,7 +48,16 @@ tc-export CC BUILD_CC local myconf= - use nls && myconf="+lang all" || myconf="+lang none" + if use nls; then + strip-linguas $(cd man; echo ??) + if [[ -z ${LINGUAS} ]] ; then + myconf="+lang all" + else + myconf="+lang ${LINGUAS// /,}" + fi + else + myconf="+lang none" + fi ./configure \ -confdir=/etc \ +sgid +fhs \