Changeset View
Changeset View
Standalone View
Standalone View
devel/mongo-c-driver/Makefile
| Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | |||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| .if ${PORT_OPTIONS:MSSL} | .if ${PORT_OPTIONS:MSSL} | ||||
| .if ${SSL_DEFAULT:Mlibressl*} | .if ${SSL_DEFAULT:Mlibressl*} | ||||
| CMAKE_ARGS+= -DENABLE_SSL=LIBRESSL | CMAKE_ARGS+= -DENABLE_SSL=LIBRESSL | ||||
| .endif | .endif | ||||
| CMAKE_ARGS+= -DENABLE_SSL=OPENSSL | CMAKE_ARGS+= -DENABLE_SSL=OPENSSL | ||||
| .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} | .if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} | ||||
| CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L | CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L | ||||
| .endif | .endif | ||||
| .endif | .endif | ||||
| pre-configure-CRYPTOPROFILE-on: | pre-configure-CRYPTOPROFILE-on: | ||||
| .if ${SSL_DEFAULT:Mlibressl*} | .if ${SSL_DEFAULT:Mlibressl*} | ||||
| @${ECHO_MSG} "CRYPTOPROFILE requires OpenSSL." | @${ECHO_MSG} "CRYPTOPROFILE requires OpenSSL." | ||||
| @${FALSE} | @${FALSE} | ||||
| Show All 12 Lines | |||||