pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bacula-clientonly PR/45696 -- add 'ssl' optio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ffc8246c0c50
branches:  trunk
changeset: 598999:ffc8246c0c50
user:      shattered <shattered%pkgsrc.org@localhost>
date:      Fri Feb 03 09:57:19 2012 +0000

description:
PR/45696 -- add 'ssl' option (not turned on by default).

diffstat:

 sysutils/bacula-clientonly/options.mk |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r a0f437f1ede8 -r ffc8246c0c50 sysutils/bacula-clientonly/options.mk
--- a/sysutils/bacula-clientonly/options.mk     Fri Feb 03 08:46:50 2012 +0000
+++ b/sysutils/bacula-clientonly/options.mk     Fri Feb 03 09:57:19 2012 +0000
@@ -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 @@
 .else
 PLIST_SUBST+=          STATIC="@comment "
 .endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+.endif



Home | Main Index | Thread Index | Old Index