2009-02-09 14:34:02 +01:00
|
|
|
# $NetBSD: options.mk,v 1.3 2009/02/09 13:34:02 joerg Exp $
|
2008-02-07 02:48:22 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch
|
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 openssl
|
2009-02-09 14:34:02 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
|
|
|
|
|
|
|
.include "../../security/openssl/builtin.mk"
|
|
|
|
|
|
|
|
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
|
|
|
|
PKG_SUGGESTED_OPTIONS+= openssl
|
|
|
|
.endif
|
2008-02-07 02:48:22 +01:00
|
|
|
|
|
|
|
.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
|
2008-10-06 14:58:29 +02:00
|
|
|
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2008-02-07 02:48:22 +01:00
|
|
|
.else
|
|
|
|
MAKE_ENV+= FETCH_WITH_OPENSSL=no
|
|
|
|
.endif
|