Some recent version of the portage package removed the two variables KDE3DIR and KDE2DIR from /etc/make.globals. This breaks various packages, since they use these vars in their ebuild-files. Up to you if you want to fix these packages or make KDE{2,3}DIR available some other way. bash-2.05a# find /usr/portage -name \*.ebuild -exec grep KDE.DIR {} \; -print dodir ${KDE2DIR}/share/applnk/Applications insinto ${KDE2DIR}/share/applnk/Applications dodir ${KDE3DIR}/share/applnk/Applications insinto ${KDE3DIR}/share/applnk/Applications /usr/portage/app-emulation/vmware-workstation/vmware-workstation-3.1.1.1790.ebuild CFLAGS="${CFLAGS} -I{KDE2DIR}/include" /usr/portage/app-misc/kwanda/kwanda-1.0.ebuild if [ "$KDE3DIR" != "$KDE3LIBSDIR" ]; then echo "PATH=${KDE3LIBSDIR}/bin:${KDE3DIR}/bin ROOTPATH=${KDE3LIBSDIR}/bin:${KDE3DIR}/bin LDPATH=${KDE3LIBSDIR}/lib:${KDE3DIR}/lib" > ${D}/etc/env.d/65kdelibs-${PV} echo "KDEDIR=${KDE3DIR}" > ${D}/etc/env.d/50kdedir-${PV} /usr/portage/kde-base/kdelibs/kdelibs-3.0.2.ebuild sed -e "s:artsc-config:${KDE3DIR}/bin/artsc-config:" \ CFLAGS="$CFLAGS -I/usr/X11R6/include -I/usr/include -I${KDE3DIR}/include -I${KDE3DIR}/include/artsc" /usr/portage/media-sound/xmms-arts/xmms-arts-0.4-r3.ebuild use arts && KDEDIR="${KDE3DIR}" /usr/portage/net-im/gaim/gaim-0.59-r2.ebuild # $KDE2DIR/{lib,share}/licq /usr/portage/net-im/licq/licq-1.0.4-r2.ebuild mkdir -p ${D}/${KDE2DIR}/share/apps/krfb /usr/portage/net-misc/krfb/krfb-0.5.1.ebuild mkdir -p ${D}/${KDE3DIR}/share/apps/krfb /usr/portage/net-misc/krfb/krfb-0.6.ebuild if [ -d ${KDE2DIR} ] ; then mkdir -p ${D}/${KDE2DIR}/share/icons/ cp -rf ${S} ${D}/${KDE2DIR}/share/icons/iKons_058 if [ -d ${KDE3DIR} ] ; then mkdir -p ${D}/${KDE3DIR}/share/icons/ cp -rf ${S} ${D}/${KDE3DIR}/share/icons/iKons_058 /usr/portage/x11-misc/ikons/ikons-0.5.8.ebuild if [ -d ${KDE2DIR} ] ; then mkdir -p ${D}/${KDE2DIR}/share/icons/ cp -rf ${S} ${D}/${KDE2DIR}/share/icons/Crystal if [ -d ${KDE3DIR} ] ; then mkdir -p ${D}/${KDE3DIR}/share/icons/ cp -rf ${S} ${D}/${KDE3DIR}/share/icons/Crystal /usr/portage/x11-themes/conectiva-crystal/conectiva-crystal-3.1_beta37.ebuild
These are mostly apps with optional kde functionality. I need to go over these anyway. I'll look at them, thanks for reporting.
OK, I've just made a similar search and fixed the last problematic ebuilds. Problem can be considered solved.