aboutsummaryrefslogtreecommitdiff
path: root/science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake')
-rw-r--r--science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake32
1 files changed, 32 insertions, 0 deletions
diff --git a/science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake b/science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake
new file mode 100644
index 000000000000..0e79c4092eee
--- /dev/null
+++ b/science/gnudatalanguage/files/patch-CMakeModules_FindImageMagick.cmake
@@ -0,0 +1,32 @@
+--- CMakeModules/FindImageMagick.cmake.orig 2018-12-01 14:19:52 UTC
++++ CMakeModules/FindImageMagick.cmake
+@@ -72,7 +72,7 @@
+
+ # Define variables
+ set(ENV{PATH} "${MAGICKDIR}/bin:$ENV{PATH}")
+-set(ENV{PKG_CONFIG_PATH} "${MAGICKDIR}/lib/pkgconfig/:$ENV{PKG_CONFIG_PATH}")
++set(ENV{PKG_CONFIG_PATH} "${MAGICKDIR}/libdata/pkgconfig/:$ENV{PKG_CONFIG_PATH}")
+
+ #---------------------------------------------------------------------
+ # Helper functions
+@@ -165,17 +165,17 @@ foreach(component ${ImageMagick_FIND_COMPONENTS}
+ )
+ if(component STREQUAL "Magick++")
+ FIND_IMAGEMAGICK_API(Magick++ Magick++.h
+- Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
++ Magick++-6 Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
+ )
+ list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_Magick++_LIBRARY)
+ elseif(component STREQUAL "MagickWand")
+ FIND_IMAGEMAGICK_API(MagickWand wand/MagickWand.h
+- Wand MagickWand CORE_RL_wand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
++ MagickWand-6 Wand MagickWand CORE_RL_wand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
+ )
+ list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickWand_LIBRARY)
+ elseif(component STREQUAL "MagickCore")
+ FIND_IMAGEMAGICK_API(MagickCore magick/MagickCore.h
+- Magick MagickCore CORE_RL_magick_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
++ MagickCore-6 Magick MagickCore CORE_RL_magick_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
+ )
+ list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickCore_LIBRARY)
+ else()