--- /usr/portage/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild 2006-04-01 08:38:08.000000000 +0200 +++ wxGTK-2.6.2-r1.ebuild 2006-06-15 06:49:10.000000000 +0200 @@ -2,19 +2,21 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild,v 1.11 2006/04/01 06:27:00 antarus Exp $ -inherit wxlib gnuconfig +inherit wxlib gnuconfig autotools DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and wxbase non-gui library" SLOT="2.6" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" -IUSE="gnome joystick odbc opengl sdl X" +IUSE="gnome joystick odbc opengl sdl tiff jpeg png X" RDEPEND="${RDEPEND} opengl? ( virtual/opengl ) >=x11-libs/gtk+-2.0 >=dev-libs/glib-2.0 - media-libs/tiff + png? ( media-libs/libpng ) + jpeg? (media-libs/jpeg ) + tiff? ( media-libs/tiff ) odbc? ( dev-db/unixODBC ) x86? ( sdl? ( media-libs/sdl-sound ) ) amd64? ( sdl? ( media-libs/sdl-sound ) ) @@ -40,9 +42,9 @@ src_compile() { gnuconfig_update myconf="${myconf} - --with-png - --with-jpeg - --with-tiff + $(use_with png libpng) + $(use_with jpeg libjpeg) + $(use_with tiff libtiff) $(use_enable opengl) $(use_with opengl) $(use_with gnome gnomeprint)