--- /usr/portage/media-libs/libgphoto2/libgphoto2-2.4.4.ebuild 2009-01-31 18:10:17.000000000 +0200 +++ libgphoto2-2.4.4.ebuild 2009-04-05 14:03:25.000000000 +0300 @@ -88,12 +88,17 @@ # Fix bug #216206, libusb detection sed -i "s:usb_busses:usb_find_busses:g" libgphoto2_port/configure || die "libusb sed failed" + # Fix exif :) + epatch ${FILESDIR}/${P}-libexif.patch + # Fix building on alpha, bug #221853 comment #6 epatch "${FILESDIR}/gphoto2-ixany.patch" # Fix automagic dependencies, bug #242470 epatch "${FILESDIR}/${PN}-2.4.3-automagic.patch" + cd "${S}" + eautoreconf cd "${S}/libgphoto2_port" eautoreconf } @@ -115,14 +120,11 @@ local myconf - use exif \ - && myconf="${myconf} --with-libexif=/usr" \ - || myconf="${myconf} --with-libexif=no" - econf \ ${myconf} \ --disable-docs \ --disable-gp2ddb \ + $(use_enable exif) \ $(use_enable bonjour) \ $(use_enable hal) \ $(use_enable nls) \