Fixup fromcvs/togit conversion
[pkgsrcv2.git] / sysutils / bacula-clientonly / options.mk
1 # $NetBSD: options.mk,v 1.6 2012/02/03 09:57:19 shattered Exp $
2
3 PKG_OPTIONS_VAR=                PKG_OPTIONS.bacula-clientonly
4 # bacula-static is broken -- see PR 42954
5 PKG_SUPPORTED_OPTIONS=          ssl
6
7 .include "../../mk/bsd.options.mk"
8
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
16 PLIST_SUBST+=           STATIC=
17 .else
18 PLIST_SUBST+=           STATIC="@comment "
19 .endif
20
21 .if !empty(PKG_OPTIONS:Mssl)
22 .  include "../../security/openssl/buildlink3.mk"
23 CONFIGURE_ARGS+=        --with-openssl=${BUILDLINK_PREFIX.openssl}
24 .endif