pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/znc
Module Name: pkgsrc
Committed By: kim
Date: Sun Oct 31 07:47:06 UTC 2021
Modified Files:
pkgsrc/chat/znc: options.mk
Log Message:
znc: Separate charset support from nls support by adding option `icu'
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/znc/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/chat/znc/options.mk
diff -u pkgsrc/chat/znc/options.mk:1.3 pkgsrc/chat/znc/options.mk:1.4
--- pkgsrc/chat/znc/options.mk:1.3 Tue Oct 1 13:49:58 2019
+++ pkgsrc/chat/znc/options.mk Sun Oct 31 07:47:06 2021
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.3 2019/10/01 13:49:58 nia Exp $
+# $NetBSD: options.mk,v 1.4 2021/10/31 07:47:06 kim Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.znc
-PKG_SUPPORTED_OPTIONS= inet6 nls perl python sasl-cyrus tcl
-PKG_SUGGESTED_OPTIONS= inet6 nls
+PKG_SUPPORTED_OPTIONS= icu inet6 nls perl python sasl-cyrus tcl
+PKG_SUGGESTED_OPTIONS= icu inet6 nls
PKG_OPTIONS_LEGACY_OPTS+= sasl:sasl-cyrus
@@ -15,17 +15,22 @@ CMAKE_ARGS+= -DWANT_IPV6=ON
CMAKE_ARGS+= -DWANT_IPV6=OFF
.endif
+# Charset support
+.if !empty(PKG_OPTIONS:Micu)
+CMAKE_ARGS+= -DWANT_ICU=ON
+. include "../../textproc/icu/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWANT_ICU=OFF
+.endif
+
# Native Language support
.if !empty(PKG_OPTIONS:Mnls)
USE_TOOLS+= msgfmt
PLIST_SRC+= PLIST.nls
CMAKE_ARGS+= -DWANT_I18N=ON
-CMAKE_ARGS+= -DWANT_ICU=ON
. include "../../devel/boost-libs/buildlink3.mk"
-. include "../../textproc/icu/buildlink3.mk"
.else
CMAKE_ARGS+= -DWANT_I18N=OFF
-CMAKE_ARGS+= -DWANT_ICU=OFF
.endif
# Perl support
Home |
Main Index |
Thread Index |
Old Index