blob: a54ce1041858faae50f03ea65c3442b23b5201c3 (
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
27
28
29
|
# $NetBSD: options.mk,v 1.4 2014/06/09 23:42:57 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch
PKG_SUPPORTED_OPTIONS= inet6 openssl
PKG_SUGGESTED_OPTIONS= inet6
CHECK_BUILTIN.openssl:= yes
.include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl:= no
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS+= openssl
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+= FETCH_WITH_INET6=yes
.else
MAKE_ENV+= FETCH_WITH_INET6=no
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
MAKE_ENV+= FETCH_WITH_OPENSSL=yes
.include "../../security/openssl/buildlink3.mk"
.else
MAKE_ENV+= FETCH_WITH_OPENSSL=no
.endif
|