diff options
author | leot <leot@pkgsrc.org> | 2019-03-17 16:38:49 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-03-17 16:38:49 +0000 |
commit | 78da81f8a76885b88f00102e5bb196da291b3664 (patch) | |
tree | 578e88903059bbfb49b3df3a9b7fd894be72b289 /print | |
parent | 1e98e9c8ed8074c03313c36c4a6f4a463d35ff24 (diff) | |
download | pkgsrc-78da81f8a76885b88f00102e5bb196da291b3664.tar.gz |
ghostscript-agpl: Switch to use pkgsrc openjpeg instead of bundled one
Remove bundled openjpeg in WRKSRC, add a dependency to openjpeg and pass
`--enable-openjpeg' in order to always link to pkgsrc one instead of the
ghostscript bundled one.
Bump PKGREVISION.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-agpl/Makefile | 9 | ||||
-rw-r--r-- | print/ghostscript-agpl/buildlink3.mk | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/print/ghostscript-agpl/Makefile b/print/ghostscript-agpl/Makefile index 8238eaf76c1..2711ba0284a 100644 --- a/print/ghostscript-agpl/Makefile +++ b/print/ghostscript-agpl/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.36 2019/03/17 16:03:56 gdt Exp $ +# $NetBSD: Makefile,v 1.37 2019/03/17 16:38:49 leot Exp $ DISTNAME= ghostscript-${GS_VERSION} PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/} GITHUB_PROJECT= ghostpdl-downloads @@ -22,6 +22,7 @@ DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts USE_LANGUAGES= c c++ USE_TOOLS+= gmake perl:run lex pkg-config GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-openjpeg CONFIGURE_ARGS+= --with-system-libtiff CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib CONFIGURE_ENV.HPUX+= ac_cv_func_fopen64=no @@ -87,6 +88,7 @@ post-extract: ${RM} -rf ${WRKSRC}/jpeg ${RM} -rf ${WRKSRC}/lcms2 ${RM} -rf ${WRKSRC}/libpng + ${RM} -rf ${WRKSRC}/openjpeg ${RM} -rf ${WRKSRC}/tiff ${RM} -rf ${WRKSRC}/zlib @@ -104,8 +106,7 @@ post-install: .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/jbig2dec/buildlink3.mk" .include "../../graphics/lcms2/buildlink3.mk" -# \todo Explain why this is present and commented out. -#.include "../../graphics/openjpeg15/buildlink3.mk" +.include "../../graphics/openjpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../print/libpaper/buildlink3.mk" diff --git a/print/ghostscript-agpl/buildlink3.mk b/print/ghostscript-agpl/buildlink3.mk index d775eb5ce10..61af1f2782b 100644 --- a/print/ghostscript-agpl/buildlink3.mk +++ b/print/ghostscript-agpl/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.10 2018/03/12 11:15:42 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.11 2019/03/17 16:38:49 leot Exp $ BUILDLINK_TREE+= ghostscript-agpl @@ -9,6 +9,7 @@ BUILDLINK_API_DEPENDS.ghostscript-agpl+= ghostscript-agpl>=8.63nb1 BUILDLINK_ABI_DEPENDS.ghostscript-agpl+= ghostscript-agpl>=9.22nb2 BUILDLINK_PKGSRCDIR.ghostscript-agpl?= ../../print/ghostscript-agpl +.include "../../graphics/openjpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |