pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl print/ghostscript-agpl: pkglint...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab91480a809
branches:  trunk
changeset: 321174:8ab91480a809
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Mar 17 16:03:56 2019 +0000

description:
print/ghostscript-agpl: pkglint cleanups

  - Add \todo about a4 not being valid for PAPERSIZE
  - Add PAPERSIZE to BUILD_DEFS
  - Add \todo about jpeg2000 bl3 that is commented out without explanation
  - GC undefined and unused PLIST.cidfmap

No real change intended, other than BUILD_DEFS.  Ride recent
PKGREVISION++.

diffstat:

 print/ghostscript-agpl/Makefile   |  5 ++++-
 print/ghostscript-agpl/options.mk |  4 +---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 6f1568448b9b -r 8ab91480a809 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Sun Mar 17 15:54:16 2019 +0000
+++ b/print/ghostscript-agpl/Makefile   Sun Mar 17 16:03:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2019/03/17 15:54:16 gdt Exp $
+# $NetBSD: Makefile,v 1.36 2019/03/17 16:03:56 gdt Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
@@ -45,7 +45,9 @@
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
 
+# \todo Remove "a4" as that is not valid according to pkglint.
 .if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
+BUILD_DEFS+=           PAPERSIZE
 CFLAGS+=               -DA4
 .endif
 
@@ -102,6 +104,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/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
diff -r 6f1568448b9b -r 8ab91480a809 print/ghostscript-agpl/options.mk
--- a/print/ghostscript-agpl/options.mk Sun Mar 17 15:54:16 2019 +0000
+++ b/print/ghostscript-agpl/options.mk Sun Mar 17 16:03:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2019/03/17 15:54:16 gdt Exp $
+# $NetBSD: options.mk,v 1.5 2019/03/17 16:03:56 gdt Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ghostscript
 PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits
@@ -49,6 +49,4 @@
 .if !empty(PKG_OPTIONS:Mdisable-compile-inits)
 CONFIGURE_ARGS+=       --disable-compile-inits
 PLIST.no_cidfmap=      YES
-.else
-PLIST.cidfmap=         YES
 .endif



Home | Main Index | Thread Index | Old Index