mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- 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)
This commit is contained in:
parent
589580ab8f
commit
8fe7b134f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260703
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user