ports/graphics/ImageMagick/patches/patch-wand_Wand_pc_in

23 lines
850 B
Plaintext

Index: wand/Wand.pc.in
--- wand/Wand.pc.in.orig
+++ wand/Wand.pc.in
@@ -1,8 +1,8 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includedir=@includedir@/ImageMagick
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick
libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
Name: MagickWand
@@ -11,5 +11,5 @@ URL: https://github.com/ImageMagick/ImageMagick6
Version: @PACKAGE_VERSION@
Requires: MagickCore
Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
+Libs: -L${X11BASE}/lib -L${libdir} -l${libname}
+Libs.private: -L${X11BASE}/lib -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@