From e34638b0a7352a0b383073134515856562ffd109 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Fri, 21 May 2010 04:33:11 +0000 Subject: [PATCH] Added patch for imagemagick which now allows it to build. Probably a cleaner way to do this, but this should work for now. Also listed some of the many dependencies for it. --- media-gfx/imagemagick/imagemagick-6.6.1-10.bep | 16 ++++++++++++++-- .../patches/imagemagick-6.6.1-10.patch | 12 ++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 media-gfx/imagemagick/patches/imagemagick-6.6.1-10.patch diff --git a/media-gfx/imagemagick/imagemagick-6.6.1-10.bep b/media-gfx/imagemagick/imagemagick-6.6.1-10.bep index a3b8bb5ad..c80a9415d 100644 --- a/media-gfx/imagemagick/imagemagick-6.6.1-10.bep +++ b/media-gfx/imagemagick/imagemagick-6.6.1-10.bep @@ -3,7 +3,15 @@ HOMEPAGE="A collection of tools and libraries for many image formats" SRC_URI="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz" REVISION="1" STATUS_HAIKU="stable" -DEPEND="" +DEPEND="media-libs/libpng, + media-libs/tiff, + media-libs/jpeg, + media-libs/jasper, + media-libs/openexr, + dev-lang/perl, + dev-libs/libxml2, + media-libs/lcms, + media-libs/freetype" CHECKSUM_MD5="fa42577f4d9ab23171bc6824b515ca13" BUILD { cd ImageMagick-6.6.1-10 @@ -11,7 +19,11 @@ BUILD { aclocal -I m4 autoconf automake - ./configure --prefix=/boot/common --enable-shared --enable-fast-install --with-modules=yes --with-ltdl-lib=${libdir} + ./configure --prefix=/boot/common \ + --enable-shared \ + --enable-fast-install \ + --with-modules=yes \ + --with-ltdl-lib=${libdir} make } diff --git a/media-gfx/imagemagick/patches/imagemagick-6.6.1-10.patch b/media-gfx/imagemagick/patches/imagemagick-6.6.1-10.patch new file mode 100644 index 000000000..00b755092 --- /dev/null +++ b/media-gfx/imagemagick/patches/imagemagick-6.6.1-10.patch @@ -0,0 +1,12 @@ +diff -urN ImageMagick-6.6.1-10/configure.ac ImageMagick-6.6.1-10-haiku/configure.ac +--- ImageMagick-6.6.1-10/configure.ac 2010-04-26 00:45:55.061865984 +0000 ++++ ImageMagick-6.6.1-10-haiku/configure.ac 2010-05-21 04:07:59.830472192 +0000 +@@ -2556,7 +2556,7 @@ + AC_SUBST(EXECUTABLE_PATH) + + # Path to ImageMagick lib +-LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}" ++LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}:${LIBRARY_PATH}" + DEFINE_LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}/" + case "${build_os}" in + mingw* )