--- /var/abs/extra/imagemagick/PKGBUILD 2009-05-26 01:04:22.000000000 -0300 +++ PKGBUILD 2009-05-26 17:07:50.000000000 -0300 @@ -18,12 +18,13 @@ #makedepends=('ghostscript' 'openexr') options=('!makeflags' '!docs') source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.bz2 \ - libpng_mmx_patch_x86_64.patch add_delegate.patch) + libpng_mmx_patch_x86_64.patch add_delegate.patch perlmagick.rpath.fix.patch) md5sums=('267b5671220098369eeb6f7436701cda' '069980fc2590c02aed86420996259302'\ - '7f5851c4450b73d52df55c7e806cc316') + '7f5851c4450b73d52df55c7e806cc316' 'ff9974decbfe9846f8e347239d87e4eb') sha1sums=('289084e4091ffcc2bb687a3e193580a585810c19' 'e42f3acbe85b6098af75c5cecc9a254baaa0482c' - '19b40dcbc5bf8efb8ce7190fed17e2921de32ea5') + '19b40dcbc5bf8efb8ce7190fed17e2921de32ea5' + '23405f80904b1de94ebd7bd6fe2a332471b8c283') build() { cd "${srcdir}/ImageMagick-${pkgver%.*}-${pkgver##*.}" @@ -34,6 +35,8 @@ patch -p0 < ../add_delegate.patch || return 1 sed -i "s/with_autotrace='no'/with_autotrace='yes'/" configure || return 1 + + patch -p0 < $srcdir/perlmagick.rpath.fix.patch # When there is a soname bump, remove 'LIBS=-lMagickWand' from configure line and build/install. Then, readd 'LIBS=-lMagickWand' and build/install twice. LIBS=-lMagickWand ./configure --prefix=/usr --without-modules --disable-static --enable-openmp \