--- /usr/portage/net-print/cups/cups-2.3.3-r2.ebuild 2021-01-22 18:09:17.000000000 +0300 +++ net-print/cups/cups-2.3.3-r2.ebuild 2021-02-20 20:43:49.846276455 +0300 @@ -150,8 +150,6 @@ multilib_src_configure() { export DSOFLAGS="${LDFLAGS}" - einfo LINGUAS=\"${LINGUAS}\" - # explicitly specify compiler wrt bug 524340 # # need to override KRB5CONFIG for proper flags @@ -167,7 +165,6 @@ --with-cups-user=lp --with-cups-group=lp --with-docdir="${EPREFIX}"/usr/share/cups/html - --with-languages="${LINGUAS}" --with-system-groups=lpadmin --with-xinetd="${EPREFIX}"/etc/xinetd.d $(multilib_native_use_enable acl) @@ -187,6 +184,12 @@ $(multilib_is_native_abi && echo --enable-libpaper || echo --disable-libpaper) ) + if [ -n "${LINGUAS+x}" ] ; then + myeconfargs+=( + --with-languages="${LINGUAS}" + ) + fi + if tc-is-static-only; then myeconfargs+=( --disable-shared