--- hugin-0.6.1.ebuild.org 2007-05-01 00:05:47.000000000 +0200 +++ hugin-0.6.1.ebuild 2007-06-01 21:51:49.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.6.1.ebuild,v 1.7 2007/04/30 21:58:47 genone Exp $ -inherit wxwidgets eutils +inherit wxwidgets eutils autotools libtool DESCRIPTION="GUI for the creation & processing of panoramic images" HOMEPAGE="http://hugin.sf.net" @@ -44,6 +44,12 @@ src_unpack() { unpack ${A} + epatch ${FILESDIR}/${P}-as-needed.patch + + cd ${S} + AT_M4DIR="${S}/m4" + eautoreconf + sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h }