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 18:02:26 UTC 2019

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

Log Message:
print/ghostscript-agpl: Copy utf8 option from ../ghostscript-gpl (default off)

Copy the utf8 option from ghostscript-gpl, which is just bl3ing on
libiconv.  Leave it off for now (unlike -gpl).

Perhaps it should be default on, and perhaps it should be always
enabled and not even an option.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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/options.mk
diff -u pkgsrc/print/ghostscript-agpl/options.mk:1.5 pkgsrc/print/ghostscript-agpl/options.mk:1.6
--- pkgsrc/print/ghostscript-agpl/options.mk:1.5        Sun Mar 17 16:03:56 2019
+++ pkgsrc/print/ghostscript-agpl/options.mk    Sun Mar 17 18:02:26 2019
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.5 2019/03/17 16:03:56 gdt Exp $
+# $NetBSD: options.mk,v 1.6 2019/03/17 18:02:26 gdt Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ghostscript
-PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits
+PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits utf8
 PKG_SUGGESTED_OPTIONS= x11 fontconfig
 
 .include "../../mk/bsd.options.mk"
@@ -50,3 +50,10 @@ CONFIGURE_ARGS+=     --disable-fontconfig
 CONFIGURE_ARGS+=       --disable-compile-inits
 PLIST.no_cidfmap=      YES
 .endif
+
+.if !empty(PKG_OPTIONS:Mutf8)
+.include "../../converters/libiconv/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libiconv=${ICONV_TYPE}
+.else
+CONFIGURE_ARGS+=       --with-libiconv=no
+.endif



Home | Main Index | Thread Index | Old Index