1 # $NetBSD: options.mk,v 1.6 2012/02/03 09:57:19 shattered Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
4 # bacula-static is broken -- see PR 42954
5 PKG_SUPPORTED_OPTIONS= ssl
7 .include "../../mk/bsd.options.mk"
9 .if !empty(PKG_OPTIONS:Mbacula-static)
10 CONFIGURE_ARGS+= --enable-static-cons
11 CONFIGURE_ARGS+= --enable-static-dir
12 CONFIGURE_ARGS+= --enable-static-fd
13 CONFIGURE_ARGS+= --enable-static-sd
14 CONFIGURE_ARGS+= --enable-static-tools
15 CONFIGURE_ARGS+= --disable-libtool
18 PLIST_SUBST+= STATIC="@comment "
21 .if !empty(PKG_OPTIONS:Mssl)
22 . include "../../security/openssl/buildlink3.mk"
23 CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}