aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql57-server
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-12 15:08:19 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-12 15:08:19 +0000
commit7b80b7b343e4dd87fc88caf79522e5193ef08c40 (patch)
treec3cda5dfcd7433c799f60fc476e5fbf9071b58ed /databases/mysql57-server
parent0a9f13e63f1f4defa0e8272eb4383c13f8c06d5a (diff)
downloadports-7b80b7b343e4dd87fc88caf79522e5193ef08c40.tar.gz
ports-7b80b7b343e4dd87fc88caf79522e5193ef08c40.zip
Notes
Diffstat (limited to 'databases/mysql57-server')
-rw-r--r--databases/mysql57-server/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/databases/mysql57-server/Makefile b/databases/mysql57-server/Makefile
index c0ea514f834f..c83923409922 100644
--- a/databases/mysql57-server/Makefile
+++ b/databases/mysql57-server/Makefile
@@ -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