summaryrefslogtreecommitdiff
path: root/sysutils
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
commitc69056234ae2e9fd43a9ae47eacacaa1893e1a5e (patch)
tree0aaa81014340118db2d2857eed4760cd88105c3c /sysutils
parent594276da5956efdfe35a02e811b1297c82c9da7d (diff)
downloadpkgsrc-c69056234ae2e9fd43a9ae47eacacaa1893e1a5e.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