blob: 687f59b5c31ed6e42f3d80fc85e7f19c2bad10bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: options.mk,v 1.4 2005/10/03 21:36:59 wiz 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"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
PLIST_SUBST+= IPV6H=
.else
CONFIGURE_ARGS+= --disable-ipv6
PLIST_SUBST+= IPV6H="@comment "
.endif
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl
.endif
|