summaryrefslogtreecommitdiff
path: root/sysutils/bacula-clientonly/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula-clientonly/options.mk')
-rw-r--r--sysutils/bacula-clientonly/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/bacula-clientonly/options.mk b/sysutils/bacula-clientonly/options.mk
index 1e15750790d..a44a0b53c5f 100644
--- a/sysutils/bacula-clientonly/options.mk
+++ b/sysutils/bacula-clientonly/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.5 2011/08/17 20:23:11 shattered Exp $
+# $NetBSD: options.mk,v 1.6 2012/02/03 09:57:19 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
-PKG_SUPPORTED_OPTIONS= bacula-static
+PKG_SUPPORTED_OPTIONS= bacula-static ssl
.include "../../mk/bsd.options.mk"
@@ -16,3 +16,8 @@ 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