Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 09:04:30 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485219 - head/databases/mariadb102-server
Message-ID:  <201811180904.wAI94UPQ055000@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sun Nov 18 09:04:30 2018
New Revision: 485219
URL: https://svnweb.freebsd.org/changeset/ports/485219

Log:
  databases/mariadb102-server: Fix build with compression
  
   - Re-add workaround for link issues [1] with
     compression options
  
  [1]: https://jira.mariadb.org/browse/MDEV-14072
  
  PR:		233274
  Submitted by:	Dave Bendit <david ibendit com>
  MFH:		2018Q4

Modified:
  head/databases/mariadb102-server/Makefile

Modified: head/databases/mariadb102-server/Makefile
==============================================================================
--- head/databases/mariadb102-server/Makefile	Sun Nov 18 08:51:08 2018	(r485218)
+++ head/databases/mariadb102-server/Makefile	Sun Nov 18 09:04:30 2018	(r485219)
@@ -215,4 +215,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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811180904.wAI94UPQ055000>