aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ImageMagick/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-04-21 16:06:14 +0800
committerknu <knu@FreeBSD.org>2004-04-21 16:06:14 +0800
commit8b2bd89e298c58a4cd52cb28e697683db818c2a4 (patch)
tree05f99bcb01ef4565133749414fc80fbedab88561 /graphics/ImageMagick/files
parentb2b4e5a552700a9da6ce73033b4e69a6ce8b1356 (diff)
downloadfreebsd-ports-gnome-8b2bd89e298c58a4cd52cb28e697683db818c2a4.tar.gz
freebsd-ports-gnome-8b2bd89e298c58a4cd52cb28e697683db818c2a4.tar.zst
freebsd-ports-gnome-8b2bd89e298c58a4cd52cb28e697683db818c2a4.zip
Fix freetype2 configuration failure and build ImageMagick with the
freetype2 support properly (unless WITHOUT_IMAGEMAGICK_TTF is not defined). Patches have been sent to the developer forum. Hopefully the next version to 6.0.0 will include the fix.
Diffstat (limited to 'graphics/ImageMagick/files')
-rw-r--r--graphics/ImageMagick/files/patch-configure45
-rw-r--r--graphics/ImageMagick/files/patch-magick_config.h.in12
2 files changed, 54 insertions, 3 deletions
diff --git a/graphics/ImageMagick/files/patch-configure b/graphics/ImageMagick/files/patch-configure
index ab93c04e6ebf..530c9a8d220c 100644
--- a/graphics/ImageMagick/files/patch-configure
+++ b/graphics/ImageMagick/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Sun Jun 23 12:18:35 2002
-+++ configure Sun Jun 23 12:23:23 2002
-@@ -22001,6 +22001,7 @@
+--- configure.bak Fri Feb 6 09:19:49 2004
++++ configure Wed Apr 21 16:47:25 2004
+@@ -23161,6 +23161,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -8,3 +8,42 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -37277,10 +37278,10 @@
+ done
+ if test -n "$freetype_config"
+ then
+- freetype_prefix=`freetype-config --prefix`
+- freetype_exec_prefix=`freetype-config --exec-prefix`
+- LDFLAGS="$LDFLAGS -L${freetype_exec_prefix}/lib"
+- CPPFLAGS="-I${freetype_prefix}/include/freetype2 $CPPFLAGS"
++ freetype_cflags=`$freetype_config --cflags`
++ freetype_libs=`$freetype_config --libs`
++ LDFLAGS="$LDFLAGS $freetype_libs"
++ CPPFLAGS="$freetype_cflags $CPPFLAGS"
+ fi
+ fi
+
+@@ -37621,10 +37622,10 @@
+ done
+ if test -n "$freetype_config"
+ then
+- freetype_prefix=`freetype-config --prefix`
+- freetype_exec_prefix=`freetype-config --exec-prefix`
+- LDFLAGS="$LDFLAGS -L${freetype_exec_prefix}/lib"
+- CPPFLAGS="-I${freetype_prefix}/include/freetype2 $CPPFLAGS"
++ freetype_cflags=`$freetype_config --cflags`
++ freetype_libs=`$freetype_config --libs`
++ LDFLAGS="$LDFLAGS $freetype_libs"
++ CPPFLAGS="$freetype_cflags $CPPFLAGS"
+ fi
+ fi
+
+@@ -37906,7 +37907,7 @@
+ fi
+
+
+- if test "$have_freetype_h" = 'yes'
++ if test "$ac_cv_header_ft2build_h" = 'yes' || test "$have_freetype_h" = 'yes'
+ then
+ passed=`expr $passed + 1`
+ else
diff --git a/graphics/ImageMagick/files/patch-magick_config.h.in b/graphics/ImageMagick/files/patch-magick_config.h.in
new file mode 100644
index 000000000000..9301267db880
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-magick_config.h.in
@@ -0,0 +1,12 @@
+--- magick/magick_config.h.in.orig Thu Dec 18 09:12:27 2003
++++ magick/magick_config.h.in Wed Apr 21 16:53:23 2004
+@@ -79,6 +79,9 @@
+ /* define if the compiler supports the explicit keyword */
+ #undef HAVE_EXPLICIT
+
++/* Define to 1 if you have the <ft2build.h> header file. */
++#undef HAVE_FT2BUILD_H
++
+ /* Define to 1 if you have the <freetype/freetype.h> header file. */
+ #undef HAVE_FREETYPE_FREETYPE_H
+