diff -u thunar-0.8.0-r2.ebuild.orig thunar-0.8.0-r2.ebuild --- thunar-0.8.0-r2.ebuild.orig 2007-03-09 13:06:07.000000000 -0500 +++ thunar-0.8.0-r2.ebuild 2007-03-09 21:15:21.000000000 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-0.8.0-r2.ebuild,v 1.6 2007/03/09 17:49:21 jer Exp $ -inherit eutils virtualx xfce44 +inherit autotools eutils virtualx xfce44 MY_P="${P/t/T}" S="${WORKDIR}/${MY_P}" @@ -12,7 +12,7 @@ DESCRIPTION="File manager" HOMEPAGE="http://thunar.xfce.org" KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~x86-fbsd" -IUSE="doc dbus debug exif gnome hal plugins pcre startup-notification" +IUSE="doc dbus debug exif fam gnome hal plugins pcre startup-notification" RDEPEND=">=dev-lang/perl-5.6 x11-libs/libSM @@ -22,7 +22,7 @@ >=x11-misc/shared-mime-info-0.15 >=dev-util/desktop-file-utils-0.10 >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION} - virtual/fam + fam? ( virtual/fam ) dbus? ( || ( dev-libs/dbus-glib =media-libs/freetype-2 @@ -39,7 +39,7 @@ doc? ( dev-util/gtk-doc )" XFCE_CONFIG="${XFCE_CONFIG} $(use_enable exif) $(use_enable gnome gnome-thumbnailers) \ - $(use_enable dbus) $(use_enable pcre)" + $(use_enable dbus) $(use_enable pcre) $(use_with fam)" pkg_setup() { if use hal; then @@ -66,6 +66,8 @@ unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-jpeg.patch" + epatch "${FILESDIR}/${P}-configure.in.patch" + eautoconf } src_test() {