pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: Switch to use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e680f64f0d42
branches:  trunk
changeset: 331389:e680f64f0d42
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Mar 17 16:38:49 2019 +0000

description:
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:

 print/ghostscript-agpl/Makefile      |  9 +++++----
 print/ghostscript-agpl/buildlink3.mk |  3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (57 lines):

diff -r a9299c10964b -r e680f64f0d42 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Sun Mar 17 16:03:56 2019 +0000
+++ b/print/ghostscript-agpl/Makefile   Sun Mar 17 16:38:49 2019 +0000
@@ -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 @@
 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 @@
        ${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 @@
 .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 -r a9299c10964b -r e680f64f0d42 print/ghostscript-agpl/buildlink3.mk
--- a/print/ghostscript-agpl/buildlink3.mk      Sun Mar 17 16:03:56 2019 +0000
+++ b/print/ghostscript-agpl/buildlink3.mk      Sun Mar 17 16:38:49 2019 +0000
@@ -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_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"
 



Home | Main Index | Thread Index | Old Index