pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/ghostscript-agpl



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Mar 17 16:03:56 UTC 2019

Modified Files:
        pkgsrc/print/ghostscript-agpl: Makefile options.mk

Log Message:
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++.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/ghostscript-agpl/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.35 pkgsrc/print/ghostscript-agpl/Makefile:1.36
--- pkgsrc/print/ghostscript-agpl/Makefile:1.35 Sun Mar 17 15:54:16 2019
+++ pkgsrc/print/ghostscript-agpl/Makefile      Sun Mar 17 16:03:56 2019
@@ -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 @@ MESSAGE_SUBST+=               GS_RESOURCEDIR=${GS_RES
 .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 @@ 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/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"

Index: pkgsrc/print/ghostscript-agpl/options.mk
diff -u pkgsrc/print/ghostscript-agpl/options.mk:1.4 pkgsrc/print/ghostscript-agpl/options.mk:1.5
--- pkgsrc/print/ghostscript-agpl/options.mk:1.4        Sun Mar 17 15:54:16 2019
+++ pkgsrc/print/ghostscript-agpl/options.mk    Sun Mar 17 16:03:56 2019
@@ -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 @@ CONFIGURE_ARGS+=      --disable-fontconfig
 .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