summaryrefslogtreecommitdiff
path: root/graphics/autotrace/patches
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-23 21:32:17 +0000
committerjlam <jlam>2001-08-23 21:32:17 +0000
commit3b1ef9f14232e1d4e903f218c3ba20dc05d08eef (patch)
tree297975e4f0b2102191c6193ce67a5d664e9ff8bb /graphics/autotrace/patches
parent36269766348a0c01766b42564e1953ed739ce19e (diff)
downloadpkgsrc-3b1ef9f14232e1d4e903f218c3ba20dc05d08eef.tar.gz
Use ${MAGICK_CONFIG} instead of Magick-config.
Diffstat (limited to 'graphics/autotrace/patches')
-rw-r--r--graphics/autotrace/patches/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/autotrace/patches/patch-ab b/graphics/autotrace/patches/patch-ab
new file mode 100644
index 00000000000..9ce74e19983
--- /dev/null
+++ b/graphics/autotrace/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2001/08/23 21:32:18 jlam Exp $
+
+--- configure.orig Wed Nov 15 12:11:09 2000
++++ configure
+@@ -1139,9 +1139,9 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
+-if test "x$MAGICK_CONFIG" = "xMagick-config" ; then
++if test "x$MAGICK_CONFIG" != "x" ; then
+ CPPFLAGS_BACKUP="$CPPFLAGS"
+- CPPFLAGS=`Magick-config --cppflags`
++ CPPFLAGS=`$MAGICK_CONFIG --cppflags`
+ ac_safe=`echo "magick/api.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for magick/api.h""... $ac_c" 1>&6
+ echo "configure:1148: checking for magick/api.h" >&5
+@@ -1180,7 +1180,7 @@
+ 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`"
+
+
+ HAVE_MAGICK=yes