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