fd4b7b22a2
See options.mk, in the case without options nagios-nrpe-args: # Upstream's configure enables command args when given # "--disable-command-args", so (departing from pkgsrc norms) don't # give the --disable option. PKGREVISION++; the previous version enabled command args when it should not have.
30 lines
917 B
Makefile
30 lines
917 B
Makefile
# $NetBSD: options.mk,v 1.5 2011/02/22 15:23:43 gdt Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.nagios-nrpe
|
|
PKG_SUPPORTED_OPTIONS= ssl tcpwrappers nagios-nrpe-args
|
|
PKG_SUGGESTED_OPTIONS= tcpwrappers
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
CONFIGURE_ARGS+= --enable-ssl
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
|
|
CONFIGURE_ARGS+= --with-ssl-lib=${SSLBASE}/lib
|
|
CONFIGURE_ARGS+= --with-ssl-inc=${SSLBASE}/include
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mnagios-nrpe-args)
|
|
CONFIGURE_ARGS+= --enable-command-args
|
|
.else
|
|
# Upstream's configure enables command args when given
|
|
# "--disable-command-args", so (departing from pkgsrc norms) don't
|
|
# give the --disable option.
|
|
#CONFIGURE_ARGS+= --disable-command-args
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtcpwrappers)
|
|
. include "../../security/tcp_wrappers/buildlink3.mk"
|
|
.endif
|