--- imagemagick-6.2.8.0.ebuild.orig 2006-07-19 16:47:42.000000000 +0200 +++ imagemagick-6.2.8.0.ebuild 2006-07-19 18:49:19.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.2.8.0.ebuild,v 1.7 2006/07/15 16:55:48 nixnut Exp $ -inherit eutils perl-app multilib +inherit eutils perl-app multilib autotools MY_PN=ImageMagick MY_P=${MY_PN}-${PV%.*} @@ -56,13 +56,16 @@ cd "${S}" chmod +x config.sub epatch "${FILESDIR}"/${PN}-6.2.5.4-docs.patch + epatch "${FILESDIR}"/imagemagick-perl.patch + + eautoreconf } src_compile() { econf \ --with-threads \ --with-modules \ - --without-perl \ + $(use_with perl) \ --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ --with-windows-font-dir=/usr/share/fonts/corefonts \ $(use_with !nocxx magick-plus-plus) \