ports/graphics/ImageMagick/patches/patch-magick_ImageMagick_pc_in

23 lines
918 B
Plaintext

Index: magick/ImageMagick.pc.in
--- magick/ImageMagick.pc.in.orig
+++ magick/ImageMagick.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=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
Name: ImageMagick
@@ -10,5 +10,5 @@ Description: ImageMagick - convert, edit, and compose
URL: https://github.com/ImageMagick/ImageMagick6
Version: @PACKAGE_BASE_VERSION@
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@