diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2010-09-07 16:25:08 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2010-09-07 16:25:08 +0000 |
commit | 8fe7b134f6e23df9b0f14a8a6afec7e1001c5e7c (patch) | |
tree | 111b2a41808cef2b351aa1027ecf1f927ef34217 /sysutils/bacula-bat | |
parent | - update bacula to version 5.0.3 (diff) |
- 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/Makefile | 9 |
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 " |