841dfa0e7a
through PLIST_SUBST to the plist module.
28 lines
636 B
Makefile
28 lines
636 B
Makefile
# $NetBSD: options.mk,v 1.7 2008/04/12 22:43:08 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.net-snmp
|
|
PKG_SUPPORTED_OPTIONS= ssl
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
|
|
# net-snmp doesn't do IPv6 on Solaris & Darwin
|
|
PKG_SUPPORTED_OPTIONS+= inet6
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= inet6
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
PLIST.inet6= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-openssl
|
|
.else
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
.endif
|