blob: 203114c4544ba50efaa8e4e659738e06901a3fa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: options.mk,v 1.7 2012/02/23 12:16:32 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
# bacula-static is broken -- see PR 42954
PKG_SUPPORTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbacula-static)
CONFIGURE_ARGS+= --enable-static-cons
CONFIGURE_ARGS+= --enable-static-dir
CONFIGURE_ARGS+= --enable-static-fd
CONFIGURE_ARGS+= --enable-static-sd
CONFIGURE_ARGS+= --enable-static-tools
CONFIGURE_ARGS+= --disable-libtool
PLIST_SUBST+= STATIC=
.else
PLIST_SUBST+= STATIC="@comment "
.endif
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
.endif
|