diff --git a/media-libs/libopenraw/libopenraw-0.0.8.ebuild b/media-libs/libopenraw/libopenraw-0.0.8.ebuild --- a/media-libs/libopenraw/libopenraw-0.0.8.ebuild +++ b/media-libs/libopenraw/libopenraw-0.0.8.ebuild @@ -1,16 +1,18 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.8.ebuild,v 1.12 2010/11/07 22:32:57 ssuominen Exp $ EAPI=2 +inherit autotools + DESCRIPTION="Decoding library for RAW image formats" HOMEPAGE="http://libopenraw.freedesktop.org" SRC_URI="http://${PN}.freedesktop.org/download/${P}.tar.gz" LICENSE="GPL-3 LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64" IUSE="gtk static-libs test" RDEPEND="virtual/jpeg @@ -19,8 +21,15 @@ RDEPEND="virtual/jpeg DEPEND="${RDEPEND} >=dev-libs/boost-1.35 dev-util/pkgconfig + sys-devel/boost-m4 test? ( net-misc/curl )" +src_prepare() { + # get the multilib-enabled boost.m4 from sys-devel/boost-m4 + rm -v m4/boost.m4 || die + eautoreconf +} + src_configure() { econf \ --disable-dependency-tracking \ @@ -30,5 +39,5 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README TODO + dodoc AUTHORS ChangeLog NEWS README TODO || die }