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: Copy ut...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0495134ac04
branches: trunk
changeset: 393393:f0495134ac04
user: gdt <gdt%pkgsrc.org@localhost>
date: Sun Mar 17 18:02:26 2019 +0000
description:
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.
diffstat:
print/ghostscript-agpl/options.mk | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 38c5be6780d9 -r f0495134ac04 print/ghostscript-agpl/options.mk
--- a/print/ghostscript-agpl/options.mk Sun Mar 17 17:49:27 2019 +0000
+++ b/print/ghostscript-agpl/options.mk Sun Mar 17 18:02:26 2019 +0000
@@ -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-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