databass/mysql57-server: Fix configuration of non-base SSL on all platforms
This simplifies the logic involved. Now the port will present as BROKEN if it's built on FreeBSD 9 using the base SSL library. Approved by: SSL blanket
This commit is contained in:
@@ -128,27 +128,21 @@ PERFSCHM_SUB_LIST+= PERFSCHEMRC=""
|
||||
PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
### Just for the sake of FreeBSD 9.X ###
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
|
||||
.if !defined(CLIENT_ONLY)
|
||||
. if !defined(CLIENT_ONLY)
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc
|
||||
.endif
|
||||
WITH_OPENSSL_PORT= yes
|
||||
CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE}
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
### FreeBSD Version > 9.X ###
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
|
||||
.if ${SSL_DEFAULT} == base
|
||||
BROKEN_FreeBSD_9= FreeBSD 9.x requires SSL from ports
|
||||
CMAKE_ARGS+= -DWITH_SSL=system
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${RM} -rvf ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h
|
||||
|
||||
Reference in New Issue
Block a user