Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / nagios-nrpe / options.mk
blob3455869087022cb7c91ccc3ba07f99ec5d87162f
1 # $NetBSD: options.mk,v 1.4 2011/02/22 15:09:07 gdt Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.nagios-nrpe
4 PKG_SUPPORTED_OPTIONS= ssl tcpwrappers nagios-nrpe-args
5 PKG_SUGGESTED_OPTIONS= tcpwrappers
7 .include "../../mk/bsd.options.mk"
9 .if !empty(PKG_OPTIONS:Mssl)
10 CONFIGURE_ARGS+= --enable-ssl
11 . include "../../security/openssl/buildlink3.mk"
12 CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
13 CONFIGURE_ARGS+= --with-ssl-lib=${SSLBASE}/lib
14 CONFIGURE_ARGS+= --with-ssl-inc=${SSLBASE}/include
15 .else
16 CONFIGURE_ARGS+= --disable-ssl
17 .endif
19 .if !empty(PKG_OPTIONS:Mnagios-nrpe-args)
20 CONFIGURE_ARGS+= --enable-command-args
21 .else
22 # Upstream's configure enables command args when given
23 # "--disable-command-args", so (departing from pkgsrc norms) don't
24 # give the --disable option.
25 #CONFIGURE_ARGS+= --disable-command-args
26 .endif
28 .if !empty(PKG_OPTIONS:Mtcpwrappers)
29 . include "../../security/tcp_wrappers/buildlink3.mk"
30 .endif