View | Details | Raw Unified | Return to bug 206998 | Differences between
and this patch

Collapse All | Expand All

(-)mysql57-client/Makefile (-1 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/databases/mysql57-client/Makefile 408878 2016-02-14 18:28:34Z smh $
2
# $FreeBSD: head/databases/mysql57-client/Makefile 408878 2016-02-14 18:28:34Z smh $
3
3
4
PORTNAME=	mysql
4
PORTNAME=	mysql
5
PORTREVISION?=	4
6
PKGNAMESUFFIX=	57-client
5
PKGNAMESUFFIX=	57-client
7
6
8
COMMENT=	Multithreaded SQL database (client)
7
COMMENT=	Multithreaded SQL database (client)
(-)mysql57-server/Makefile (-5 / +14 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mysql
4
PORTNAME=	mysql
5
PORTVERSION=	5.7.10
5
PORTVERSION=	5.7.10
6
PORTREVISION?=	3
6
PORTREVISION?=	5
7
CATEGORIES=	databases ipv6
7
CATEGORIES=	databases ipv6
8
MASTER_SITES=	MYSQL/MySQL-5.7:MySQL SF/boost/boost/1.59.0:boost
8
MASTER_SITES=	MYSQL/MySQL-5.7:MySQL SF/boost/boost/1.59.0:boost
9
PKGNAMESUFFIX?=	57-server
9
PKGNAMESUFFIX?=	57-server
Lines 17-29 Link Here
17
SLAVEDIRS=	databases/mysql57-client
17
SLAVEDIRS=	databases/mysql57-client
18
USES=		cmake:outsource shebangfix
18
USES=		cmake:outsource shebangfix
19
19
20
OPTIONS_RADIO=		SSL
20
OPTIONS_RADIO=		SSL ZLIB
21
OPTIONS_RADIO_SSL=	BUNDLED_SSL OPENSSL WITHOUT_SSL
21
OPTIONS_RADIO_SSL=	BUNDLED_SSL OPENSSL WITHOUT_SSL
22
OPTIONS_DEFAULT+=	OPENSSL
22
OPTIONS_DEFAULT+=	OPENSSL BUNDLED_ZLIB
23
OPTIONS_RADIO_ZLIB=	BUNDLED_ZLIB SYSTEM_ZLIB
24
23
NO_OPTIONS_SORT=	yes
25
NO_OPTIONS_SORT=	yes
24
26
25
BUNDLED_SSL_DESC=	SSL/TLS support via (bundled) CyaSSL
27
BUNDLED_SSL_DESC=	SSL/TLS support via (bundled) CyaSSL
26
WITHOUT_SSL_DESC=	No SSL/TLS support
28
WITHOUT_SSL_DESC=	No SSL/TLS support
29
BUNDLED_ZLIB_DESC=	Use bundled zlib
30
SYSTEM_ZLIB_DESC=	Use system zlib
27
31
28
CMAKE_ARGS+=	-DINSTALL_DOCDIR="share/doc/mysql" \
32
CMAKE_ARGS+=	-DINSTALL_DOCDIR="share/doc/mysql" \
29
		-DINSTALL_DOCREADMEDIR="share/doc/mysql" \
33
		-DINSTALL_DOCREADMEDIR="share/doc/mysql" \
Lines 42-48 Link Here
42
		-DINSTALL_SUPPORTFILESDIR="share/mysql" \
46
		-DINSTALL_SUPPORTFILESDIR="share/mysql" \
43
		-DLOCAL_BOOST_DIR=${WRKDIR}/boost_1_59_0 \
47
		-DLOCAL_BOOST_DIR=${WRKDIR}/boost_1_59_0 \
44
		-DBOOST_INCLUDE_DIR=${WRKDIR}/boost_1_59_0 \
48
		-DBOOST_INCLUDE_DIR=${WRKDIR}/boost_1_59_0 \
45
		-DWITH_INNODB_EXTRA_DEBUG=0
49
		-DWITH_INNODB_EXTRA_DEBUG=0 \
50
		-DWITH_LIBEVENT=system
46
51
47
SHEBANG_FILES=	scripts/*.pl* scripts/*.sh
52
SHEBANG_FILES=	scripts/*.pl* scripts/*.sh
48
53
Lines 54-59 Link Here
54
OPENSSL_USE=		OPENSSL=yes
59
OPENSSL_USE=		OPENSSL=yes
55
WITHOUT_SSL_CMAKE_ON=	-DWITH_SSL=no
60
WITHOUT_SSL_CMAKE_ON=	-DWITH_SSL=no
56
61
62
BUNDLED_ZLIB_CMAKE_ON=	-DWITH_ZLIB=bundled
63
SYSTEM_ZLIB_CMAKE_ON=	-DWITH_ZLIB=system
64
57
# MySQL-Server part
65
# MySQL-Server part
58
.if !defined(CLIENT_ONLY)
66
.if !defined(CLIENT_ONLY)
59
USE_MYSQL=	yes
67
USE_MYSQL=	yes
Lines 112-118 Link Here
112
PERFSCHM_SUB_LIST_OFF+=	PERFSCHEMRC="--skip-performance-schema"
120
PERFSCHM_SUB_LIST_OFF+=	PERFSCHEMRC="--skip-performance-schema"
113
121
114
.else
122
.else
115
USES+=		readline
123
USES+=		libedit
124
CMAKE_ARGS+=	-DWITH_EDITLINE=system
116
.endif
125
.endif
117
126
118
.include <bsd.port.pre.mk>
127
.include <bsd.port.pre.mk>

Return to bug 206998