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.
This commit is contained in:
Scott McCreary
2010-05-21 04:33:11 +00:00
parent 5ff433b191
commit e34638b0a7
2 changed files with 26 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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* )