852c347abe
Reported by mueller6721 on pkgsrc-users mailing list. Use gettext-lib from pkgsrc instead of builtin one. This fixes PLIST problem only.
30 lines
659 B
Makefile
30 lines
659 B
Makefile
# $NetBSD: options.mk,v 1.11 2019/07/27 00:40:50 ryoon Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
|
|
PKG_SUPPORTED_OPTIONS= inet6 nls snmp
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= nls
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mnls)
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
PLIST.nls= yes
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msnmp)
|
|
CONFIGURE_ARGS+= --with-snmp=yes
|
|
.include "../../net/net-snmp/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-snmp=no
|
|
.endif
|