From 990b1a886bc8c27af925e2165ce5ac930afc1126 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 15 Aug 2008 09:25:28 +0000 Subject: - Fix build when ImageMagic and GraphicsMagic installed is. One solution proposed on the ports mailing list was to uninstall the ImageMagick port, rebuild editors/koffice-kde3 and then reinstall ImageMagick, while this works it is unacceptable to have to uninstall a port to get another port to build. The correct solution is to patch the source configure script to skip the detection of ImageMagick when GraphicsMagick is installed. PR: 125526 Submitted by: Scot W. Hetzel" --- editors/koffice-kde3/files/patch-configure | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 editors/koffice-kde3/files/patch-configure (limited to 'editors/koffice-kde3/files') diff --git a/editors/koffice-kde3/files/patch-configure b/editors/koffice-kde3/files/patch-configure new file mode 100644 index 000000000000..0d12a4a75ae3 --- /dev/null +++ b/editors/koffice-kde3/files/patch-configure @@ -0,0 +1,30 @@ +One solution proposed on the ports mailing list was to uninstall the ImageMagick port, rebuild editors/koffice-kde3 and then reinstall ImageMagick, while this works it is unacceptable to have to uninstall a port to get another port to build. + +The correct solution is to patch the source configure script to skip the detection of ImageMagick when GraphicsMagick is installed. see attached patch: + +Patch attached with submission follows: + +--- configure.orig 2007-05-30 16:56:35.000000000 -0500 ++++ configure 2008-07-10 05:51:45.898085206 -0500 +@@ -33900,8 +33900,10 @@ + + # Check for ImageMagick... + + have_imagemagick=no + ++if test "$have_graphicsmagick" = "no"; then ++ + { echo "$as_me:$LINENO: checking for Magick-config" >&5 + echo $ECHO_N "checking for Magick-config... $ECHO_C" >&6; } + if test -n "$MAGICK_CONFIG"; then +@@ -34014,7 +34017,7 @@ + LIBMAGICK_RPATH= + fi + +- ++fi + + + + + -- cgit v1.2.3