Bug 154409 - app-i18n/koffice-i18n-1.6.0 and kde-base/kde-i18n-3.5.5 ebuilds bad pkg_setup()
Bug#: 154409 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: All Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: lxnay@lxnaydesign.net
Component: Ebuilds
URL: 
Summary: app-i18n/koffice-i18n-1.6.0 and kde-base/kde-i18n-3.5.5 ebuilds bad pkg_setup()
Keywords:  
Status Whiteboard: 
Opened: 2006-11-07 15:22 0000
Description:   Opened: 2006-11-07 15:22 0000
Hi,
both ebuilds contains this function:
pkg_setup() {
        if [ -z "${A}" ]; then
                echo
                eerror "You must set the LINGUAS environment variable to a list
of valid"
                eerror "language codes, one for each language you would like to
install."
                eerror "e.g.: LINGUAS=\"sv de pt\""
                eerror ""
                eerror "The available language codes are:"
                echo "${LANGS}"
                echo
                die
        fi
}

I think that you cannot use ${A} in this because you break quickpkg && emerge
-K otherwise.

Just try (koffice-i18n example):
quickpkg koffice-i18n
emerge -K koffice-i18n --> this will fail

Thanks.

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-11-07 16:00:52 0000 -------
Thanks, fixed now.