2021-03-24 12:01:55 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2021/03/24 11:01:55 wiz Exp $
|
2021-02-11 11:05:13 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.ups-nut
|
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
|
|
|
|
PKG_OPTIONS_GROUP.ssl= nss # openssl # only has openssl 1.0 support
|
|
|
|
PKG_SUGGESTED_OPTIONS= nss
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2021-03-24 12:01:55 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mnss)
|
2021-02-11 11:05:13 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=nss --with-nss --without-openssl
|
|
|
|
. include "../../devel/nss/buildlink3.mk"
|
2021-03-24 12:01:55 +01:00
|
|
|
#.elif !empty(PKG_OPTIONS:Mopenssl)
|
|
|
|
#CONFIGURE_ARGS+= --with-ssl=openssl --with-openssl --without-nss
|
|
|
|
#. include "../../security/openssl/buildlink3.mk"
|
2021-02-11 11:05:13 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
|
|
.endif
|