summaryrefslogtreecommitdiff
path: root/sysutils/bacula-clientonly
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2012-02-03 09:57:19 +0000
committershattered <shattered@pkgsrc.org>2012-02-03 09:57:19 +0000
commita1b517d97608e6eaa1fe830139b392c94b931c8d (patch)
tree0aaa81014340118db2d2857eed4760cd88105c3c /sysutils/bacula-clientonly
parent297a0d23923b766fe0df2a2a6142c5d85edc5f0a (diff)
downloadpkgsrc-a1b517d97608e6eaa1fe830139b392c94b931c8d.tar.gz
PR/45696 -- add 'ssl' option (not turned on by default).
Diffstat (limited to 'sysutils/bacula-clientonly')
-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