nmh: If the tls' option isn't requested pass --without-tls' to CONFIGURE_ARGS

(Previosly if selected or not *always* `--with-tls' was accidently passed to the
CONFIGURE_ARGS for the `tls' PKG_OPTION)

Pointed out by Joyent SmartOS bulk builds.
This commit is contained in:
leot 2017-11-22 08:42:24 +00:00
parent 25d59f2644
commit a2c82def51

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.5 2017/11/21 10:32:02 leot Exp $
# $NetBSD: options.mk,v 1.6 2017/11/22 08:42:24 leot Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nmh
PKG_SUPPORTED_OPTIONS= nmh-backup-hash oauth sasl tls
@ -33,5 +33,5 @@ CONFIGURE_ARGS+= --without-cyrus-sasl
CONFIGURE_ARGS+= --with-tls
.include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-tls
CONFIGURE_ARGS+= --without-tls
.endif