1 | diff --git a/databases/mariadb-10.2/Portfile b/databases/mariadb-10.2/Portfile |
---|
2 | index 5e7890ced50..7b286f587e6 100644 |
---|
3 | --- a/databases/mariadb-10.2/Portfile |
---|
4 | +++ b/databases/mariadb-10.2/Portfile |
---|
5 | @@ -11,7 +11,7 @@ set version_branch [join [lrange [split ${version} .] 0 1] .] |
---|
6 | # Please set revision_client and revision_server to 0 if you bump |
---|
7 | # version; these can be changed independently for the 2 subports, but |
---|
8 | # can be changed at the same time if that's what's required. |
---|
9 | -set revision_client 1 |
---|
10 | +set revision_client 2 |
---|
11 | set revision_server 0 |
---|
12 | categories databases |
---|
13 | platforms darwin |
---|
14 | @@ -80,8 +80,13 @@ if {$subport eq $name} { |
---|
15 | move ${workpath}/${submodule_distname} ${worksrcpath}/libmariadb |
---|
16 | } |
---|
17 | |
---|
18 | + depends_build-append \ |
---|
19 | + port:pkgconfig port:bison |
---|
20 | depends_lib-append port:zlib port:tcp_wrappers port:ncurses port:judy \ |
---|
21 | - path:lib/libssl.dylib:openssl port:libxml2 |
---|
22 | + path:lib/libssl.dylib:openssl port:libxml2 port:unixodbc \ |
---|
23 | + port:pcre port:kerberos5 port:boost port:cracklib |
---|
24 | + # see https://mariadb.com/kb/en/innodb-page-compression/ |
---|
25 | + depends_lib-append port:bzip2 port:lzo2 port:lz4 port:lzma port:snappy |
---|
26 | depends_run-append port:mysql_select |
---|
27 | |
---|
28 | select.group mysql |
---|
29 | @@ -124,7 +129,6 @@ if {$subport eq $name} { |
---|
30 | -DDEFAULT_CHARSET:STRING=utf8 \ |
---|
31 | -DDEFAULT_COLLATION:STRING=utf8_general_ci \ |
---|
32 | -DWITH_EMBEDDED_SERVER:BOOL=ON \ |
---|
33 | - -DWITH_ZLIB:STRING=system \ |
---|
34 | -DWITH_UNIT_TESTS:BOOL=ON \ |
---|
35 | -DWITHOUT_CASSANDRA_STORAGE_ENGINE:BOOL=ON \ |
---|
36 | -DWITHOUT_MROONGA_STORAGE_ENGINE:BOOL=ON \ |
---|
37 | @@ -133,13 +137,29 @@ if {$subport eq $name} { |
---|
38 | -DENABLE_GCOV:BOOL=OFF \ |
---|
39 | -DENABLE_DTRACE:BOOL=OFF \ |
---|
40 | -DWITH_READLINE:BOOL=ON \ |
---|
41 | + -DWITH_VALGRIND:BOOL=OFF \ |
---|
42 | -DWITH_LIBWRAP:BOOL=ON \ |
---|
43 | - -DWITH_SSL:STRING=yes \ |
---|
44 | - -DWITH_SSL_PATH=${prefix} \ |
---|
45 | -DMYSQL_MAINTAINER_MODE:STRING=AUTO \ |
---|
46 | -DICONV_LIBRARIES=${prefix}/lib/libiconv.dylib \ |
---|
47 | -DICONV_INCLUDE_DIR:PATH=${prefix}/include \ |
---|
48 | - -DCONNECT_WITH_LIBXML2=ON |
---|
49 | + -DCONNECT_WITH_LIBXML2:BOOL=ON \ |
---|
50 | + -DPKG_CONFIG_EXECUTABLE:FILEPATH=${prefix}/bin/pkg-config \ |
---|
51 | + -DBISON_EXECUTABLE:FILEPATH=${prefix}/bin/bison \ |
---|
52 | + -DGIT_EXECUTABLE:FILEPATH= \ |
---|
53 | + -DUPDATE_SUBMODULES:BOOL=OFF \ |
---|
54 | + -DWITH_PCRE:STRING=system |
---|
55 | + |
---|
56 | +# -DWITH_ZLIB:STRING=system \ |
---|
57 | +# -DWITH_SSL:STRING=yes \ |
---|
58 | +# -DWITH_SSL_PATH=${prefix} \ |
---|
59 | + |
---|
60 | + |
---|
61 | + configure.args-append \ |
---|
62 | + -DWITH_INNODB_BZIP2:STRING=ON \ |
---|
63 | + -DWITH_INNODB_LZ4:STRING=ON \ |
---|
64 | + -DWITH_INNODB_LZMA:STRING=ON \ |
---|
65 | + -DWITH_INNODB_LZO:STRING=ON \ |
---|
66 | + -DWITH_INNODB_SNAPPY:STRING=ON |
---|
67 | |
---|
68 | post-destroot { |
---|
69 | # proc portdestroot::destroot_finish fails to find and compress our man pages |
---|