Sat Jul 27 00:40:50 2019 UTC ()
Fix nls option packaging

Reported by mueller6721 on pkgsrc-users mailing list.
Use gettext-lib from pkgsrc instead of builtin one.
This fixes PLIST problem only.


(ryoon)
diff -r1.10 -r1.11 pkgsrc/graphics/sane-backends/options.mk

cvs diff -r1.10 -r1.11 pkgsrc/graphics/sane-backends/options.mk (expand / switch to unified diff)

--- pkgsrc/graphics/sane-backends/options.mk 2018/05/15 14:58:08 1.10
+++ pkgsrc/graphics/sane-backends/options.mk 2019/07/27 00:40:50 1.11
@@ -1,29 +1,30 @@ @@ -1,29 +1,30 @@
1# $NetBSD: options.mk,v 1.10 2018/05/15 14:58:08 jperkin Exp $ 1# $NetBSD: options.mk,v 1.11 2019/07/27 00:40:50 ryoon Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends 3PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
4PKG_SUPPORTED_OPTIONS= inet6 nls snmp 4PKG_SUPPORTED_OPTIONS= inet6 nls snmp
5PKG_SUGGESTED_OPTIONS= inet6 5PKG_SUGGESTED_OPTIONS= inet6
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9PLIST_VARS+= nls 9PLIST_VARS+= nls
10 10
11.if !empty(PKG_OPTIONS:Minet6) 11.if !empty(PKG_OPTIONS:Minet6)
12CONFIGURE_ARGS+= --enable-ipv6 12CONFIGURE_ARGS+= --enable-ipv6
13.else 13.else
14CONFIGURE_ARGS+= --disable-ipv6 14CONFIGURE_ARGS+= --disable-ipv6
15.endif 15.endif
16 16
17.if !empty(PKG_OPTIONS:Mnls) 17.if !empty(PKG_OPTIONS:Mnls)
18CONFIGURE_ARGS+= --enable-nls 18CONFIGURE_ARGS+= --enable-nls
19PLIST.nls= yes 19PLIST.nls= yes
 20.include "../../devel/gettext-lib/buildlink3.mk"
20.else 21.else
21CONFIGURE_ARGS+= --disable-nls 22CONFIGURE_ARGS+= --disable-nls
22.endif 23.endif
23 24
24.if !empty(PKG_OPTIONS:Msnmp) 25.if !empty(PKG_OPTIONS:Msnmp)
25CONFIGURE_ARGS+= --with-snmp=yes 26CONFIGURE_ARGS+= --with-snmp=yes
26.include "../../net/net-snmp/buildlink3.mk" 27.include "../../net/net-snmp/buildlink3.mk"
27.else 28.else
28CONFIGURE_ARGS+= --with-snmp=no 29CONFIGURE_ARGS+= --with-snmp=no
29.endif 30.endif