fnord want to use dietlib also in a uclibc env. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r11 (x86, gcc-3.3.4, glibc-0.9.26-r5, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=i386 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-uclibc" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=i386 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://10.0.4.11/gentoo-portage" USE="berkdb crypt gdbm hostap-noplx justify multicall mysql ncurses oggvorbis pcmcia pic pie png readline snmp ssl tcpd uclibc x86 zlib"
Created attachment 41639 [details, diff] added uclibc support (don't use dietlibc in a uclibc env)
Is there some reason why that's a problem in a uClibc environment? Maybe what you want is the ability to control if you use diet at all under * libc. If so then would adding IUSE=diet not be more appropriate for this case? We already have 3-4 local USE flags for diet in misc ebuilds that do the same as this one. You could just do something like. src_compile() { use diet && DIET=diet || DEIT="" emake DIET="$DIET" }
fixed in cvs