aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-bat
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2010-09-08 00:25:08 +0800
committerohauer <ohauer@FreeBSD.org>2010-09-08 00:25:08 +0800
commit01ee5ee827155f74645819779a6c665375bcc5a0 (patch)
tree9cce4b4be0535acd000d9f0de1fd33d26a06093c /sysutils/bacula-bat
parent6549f54de8854d94293883753550dc690e04366f (diff)
downloadfreebsd-ports-gnome-01ee5ee827155f74645819779a6c665375bcc5a0.tar.gz
freebsd-ports-gnome-01ee5ee827155f74645819779a6c665375bcc5a0.tar.zst
freebsd-ports-gnome-01ee5ee827155f74645819779a6c665375bcc5a0.zip
- add OPTION for SSL support (default on)
Starting with version 5.0.3 bacula builds per default with SSL support. PR: 150289 Submitted by: ohauer Approved by: Dan Langille (maintainer) glarkin (mentor, implicit)
Diffstat (limited to 'sysutils/bacula-bat')
-rw-r--r--sysutils/bacula-bat/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/bacula-bat/Makefile b/sysutils/bacula-bat/Makefile
index 6b0b4a444744..6bd353ba95c0 100644
--- a/sysutils/bacula-bat/Makefile
+++ b/sysutils/bacula-bat/Makefile
@@ -31,9 +31,18 @@ CONFIGURE_ARGS+=--enable-bat \
--disable-build-stored \
--enable-client-only
+OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" on
+
.include "${MASTERDIR}/Makefile"
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_OPENSSL)
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+.else
+CONFIGURE_ARGS+= --with-openssl="no"
+.endif
+
.if exists(${LOCALBASE}/lib/libbac.so.${PORTVERSION:R:R}) && exists(${LOCALBASE}/lib/libbaccfg.so.${PORTVERSION:R:R})
LIB_DEPENDS+= bac.${PORTVERSION:R:R}:${PORTSDIR}/sysutils/bacula-client
PLIST_SUB+= INDEP="@comment "