diff options
author | rodent <rodent@pkgsrc.org> | 2016-12-17 00:39:17 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2016-12-17 00:39:17 +0000 |
commit | ea3608b04f9e931da5eb1b7cd8b287a928a837c2 (patch) | |
tree | e8c70f0be7507933eb547e3902930d3c17ab8586 /graphics | |
parent | fe74ce5b57b7a089bd8153cf6733b3db6411c580 (diff) | |
download | pkgsrc-ea3608b04f9e931da5eb1b7cd8b287a928a837c2.tar.gz |
Make the pkg-config files and config shell scripts work again.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ImageMagick6/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 47c7c536839..24a7eb24e22 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -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+= magick/MagickCore.pc.in 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 |