summaryrefslogtreecommitdiff
path: root/editors/koffice-kde4/files/patch-configure
blob: 0d12a4a75ae3c8697339521d42a1d6bf7328eec2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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