2006-01-24 23:16:55 +01:00
|
|
|
# $NetBSD: options.mk,v 1.5 2006/01/24 22:16:55 adam Exp $
|
2005-08-01 13:55:55 +02:00
|
|
|
|
2005-08-01 13:58:33 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.net-snmp
|
|
|
|
PKG_SUPPORTED_OPTIONS= ssl
|
2005-08-01 13:55:55 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
|
|
|
|
# net-snmp doesn't do IPv6 on Solaris & Darwin
|
2005-08-01 13:56:17 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS+= inet6
|
2005-08-01 13:55:55 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2006-01-24 23:16:55 +01:00
|
|
|
PLIST_SUBST+= IPV6H=
|
2005-08-01 13:55:55 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
2006-01-24 23:16:55 +01:00
|
|
|
PLIST_SUBST+= IPV6H="@comment "
|
2005-08-01 13:55:55 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-openssl
|
|
|
|
.endif
|