aboutsummaryrefslogtreecommitdiff
path: root/databases/mariadb103-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mariadb103-server/Makefile')
-rw-r--r--databases/mariadb103-server/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/databases/mariadb103-server/Makefile b/databases/mariadb103-server/Makefile
index ca722cfcfa6d..23b4d6513f59 100644
--- a/databases/mariadb103-server/Makefile
+++ b/databases/mariadb103-server/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME?= mariadb
-PORTVERSION= 10.3.10
-PORTREVISION?= 1
+PORTVERSION= 10.3.11
+PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://mirrors.supportex.net/${SITESDIR}/ \
http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \
@@ -139,6 +139,7 @@ INNOBASE_CMAKE_OFF= -DPLUGIN_INNOBASE=NO
CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC
CONNECT_EXTRA_USE= gnome=libxml2
+CONNECT_EXTRA_USES= gnome
GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO -DPLUGIN_AUTH_GSSAPI_CLIENT=NO
LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF -DWITH_ROCKSDB_LZ4=OFF
LZ4_CMAKE_ON= -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON
@@ -199,4 +200,12 @@ post-patch:
${WRKSRC}/cmake/os/DragonFly.cmake
.endif
+# Fix build failure in mbstream, see https://jira.mariadb.org/browse/MDEV-14072
+post-configure-INNOBASE-on:
+ ${REINPLACE_CMD} -e 's| ${PREFIX}/lib/liblz4.so\(.* ${PREFIX}/lib/liblz4.so.*\)|\1|' \
+ -e 's| ${PREFIX}/lib/liblzo2.so\(.* ${PREFIX}/lib/liblzo2.so.*\)|\1|' \
+ -e 's| ${PREFIX}/lib/libsnappy.so\(.* ${PREFIX}/lib/libsnappy.so\)|\1|' \
+ -e 's| -llzma\(.* -llzma\)|\1|;s| -lbz2\(.* -lbz2\)|\1|;' \
+ ${WRKSRC}/extra/mariabackup/CMakeFiles/mbstream.dir/link.txt
+
.include <bsd.port.post.mk>