Seems some typos in the ebuild file ... ;-) >>> Emerging (2 of 50) media-libs/giflib-4.1.6 to / >>> Downloading 'http://distfiles.gentoo.org/distfiles/giflib-4.1.6.tar.bz2' ... >>> Unpacking source... >>> Unpacking giflib-4.1.6.tar.bz2 to /var/tmp/portage/media-libs/giflib-4.1.6/work * Applying giflib-4.1.6-gif2rle.patch ... [ ok ] * Running elibtoolize in: giflib-4.1.6 * Applying portage-1.5.10.patch ... * Applying sed-1.5.6.patch ... * Removing useless C++ checks ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/giflib-4.1.6/work/giflib-4.1.6 ... /usr/portage/media-libs/giflib/giflib-4.1.6.ebuild: line 37: --disable-rle: command not found
The only thing that is broken is clearly your bash... The ebuild hasn't been touched for over a month and works perfectly fine.
His bash isn't broken: src_compile starts with: econf \ $(use_enable X x11) \ $( # prevent circular depend #111455 has_version media-libs/urt \ || --disable-rle \ && use_enable rle \ ) \ --disable-gl \ || die Please note, that || --disable-rle will try to execute '--disable-rle' and fail. It probably should be || echo --disable-rle or something like that.