1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Fix ImageMagick libraries

This commit is contained in:
Pietro Cerutti 2008-09-26 13:59:08 +00:00
parent 7c0b87d1d0
commit c75d378619
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220840
2 changed files with 12 additions and 1 deletions

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
MAN1= autotrace.1

View File

@ -0,0 +1,11 @@
--- configure.orig 2008-09-26 15:52:26.000000000 +0200
+++ configure 2008-09-26 15:52:09.000000000 +0200
@@ -7973,7 +7973,7 @@
MAGICK_CFLAGS=${CPPFLAGS}
CPPFLAGS=${CPPFLAGS_BACKUP}
if test "x${magick_header_found}" = xyes ; then
- MAGICK_LDFLAGS="`Magick-config --ldflags` `Magick-config --libs`"
+ MAGICK_LDFLAGS="`Magick-config --ldflags` `Magick-config --libs` `MagickWand-config --ldflags` `MagickWand-config --libs`"
echo "$as_me:$LINENO: checking ImageMagick - version >= 5.2.1" >&5
echo $ECHO_N "checking ImageMagick - version >= 5.2.1... $ECHO_C" >&6
MAGICK_VERSION=`Magick-config --version`