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