diff options
author | ohauer <ohauer@FreeBSD.org> | 2010-09-08 00:25:08 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2010-09-08 00:25:08 +0800 |
commit | 01ee5ee827155f74645819779a6c665375bcc5a0 (patch) | |
tree | 9cce4b4be0535acd000d9f0de1fd33d26a06093c /sysutils/bacula-bat | |
parent | 6549f54de8854d94293883753550dc690e04366f (diff) | |
download | freebsd-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/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 " |