pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick6 Make the pkg-config files and co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74b44d8b7330
branches:  trunk
changeset: 355990:74b44d8b7330
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sat Dec 17 00:39:17 2016 +0000

description:
Make the pkg-config files and config shell scripts work again.

diffstat:

 graphics/ImageMagick6/Makefile |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 7342319e337f -r 74b44d8b7330 graphics/ImageMagick6/Makefile
--- a/graphics/ImageMagick6/Makefile    Fri Dec 16 20:05:58 2016 +0000
+++ b/graphics/ImageMagick6/Makefile    Sat Dec 17 00:39:17 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/07/09 06:38:19 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2016/12/17 00:39:17 rodent Exp $
 
 PKGREVISION= 1
 .include "Makefile.common"
@@ -31,6 +31,22 @@
 PKGCONFIG_OVERRIDE+=   wand/MagickWand.pc.in
 PKGCONFIG_OVERRIDE+=   wand/Wand.pc.in
 
+SUBST_CLASSES+=                pkgcfg
+SUBST_FILES.pkgcfg=    ${PKGCONFIG_OVERRIDE} Magick++/bin/Magick++-config.in
+SUBST_FILES.pkgcfg+=   magick/Magick-config.in magick/MagickCore-config.in
+SUBST_FILES.pkgcfg+=   wand/MagickWand-config.in wand/Wand-config.in
+SUBST_MESSAGE.pkgcfg=  Fixing pkg-config requirements.
+SUBST_SED.pkgcfg=      -e 's|MagickCore-config |MagickCore-config6 |g'
+SUBST_SED.pkgcfg+=     -e 's|Wand-config|Wand-config6|g'
+SUBST_SED.pkgcfg+=     -e 's|s MagickWand|s MagickWand-6.Q16|g'
+SUBST_SED.pkgcfg+=     -e 's|s: MagickWand|s: MagickWand-6.Q16|g'
+SUBST_SED.pkgcfg+=     -e 's|s MagickCore|s MagickCore-6.Q16|g'
+SUBST_SED.pkgcfg+=     -e 's|s: MagickCore|s: MagickCore-6.Q16|g'
+SUBST_SED.pkgcfg+=     -e 's|Magick++-config|Magick++-config6|g'
+SUBST_SED.pkgcfg+=     -e 's|Magick-config |Magick-config6 |g'
+SUBST_SED.pkgcfg+=     -e 's|s Magick++|s Magick++-6.Q16|g'
+SUBST_STAGE.pkgcfg=    pre-configure
+
 GCC_REQD+=             2.95.3
 
 TEST_TARGET=           check



Home | Main Index | Thread Index | Old Index