databases/timescaledb: add option to build without OpenSSL

PR:		251049
Reported by:	simplerezo at gmail.com
Sponsored by:	BBOX.io
This commit is contained in:
Kevin Bowling 2020-11-17 02:25:49 +00:00
parent 26383dbc8e
commit adc672f912
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555534

View File

@ -3,6 +3,7 @@
PORTNAME= timescaledb
PORTVERSION= 1.7.4
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= kbowling@FreeBSD.org
@ -15,7 +16,7 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_TSL= ${WRKSRC}/tsl/LICENSE-TIMESCALE
LICENSE_PERMS_TSL= dist-mirror pkg-mirror auto-accept
USES= compiler:c11 cmake pgsql:9.6,10,11,12 ssl
USES= compiler:c11 cmake pgsql:9.6,10,11,12
USE_GITHUB= YES
GH_ACCOUNT= timescale
@ -24,11 +25,15 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
SUB_FILES= pkg-message
SUB_LIST= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= TSL
OPTIONS_DEFAULT= TSL
OPTIONS_DEFINE= SSL TSL
OPTIONS_DEFAULT= SSL TSL
OPTIONS_SUB= yes
SSL_DESC= Build with OpenSSL support
TSL_DESC= Enables TSL licensed code in additon to Apache license code
SSL_CMAKE_BOOL= USE_OPENSSL
SSL_USES= ssl
TSL_CMAKE_BOOL_OFF= APACHE_ONLY
CMAKE_OFF= REGRESS_CHECKS