pkgsrc/sysutils/ups-nut/options.mk
wiz 2e37b9954f ups-nut: fix man page references
From Edgar Fuß in private email.

Fix some pkglint while here (openssl option disabled because only openssl 1.0
supported).

Bump PKGREVISION.
2021-03-24 11:01:55 +00:00

18 lines
594 B
Makefile

# $NetBSD: options.mk,v 1.2 2021/03/24 11:01:55 wiz Exp $
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"
.if !empty(PKG_OPTIONS:Mnss)
CONFIGURE_ARGS+= --with-ssl=nss --with-nss --without-openssl
. include "../../devel/nss/buildlink3.mk"
#.elif !empty(PKG_OPTIONS:Mopenssl)
#CONFIGURE_ARGS+= --with-ssl=openssl --with-openssl --without-nss
#. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-ssl
.endif