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
This commit is contained in:
Bernard Spil 2018-11-18 09:04:30 +00:00
parent c767f350f4
commit 0355b96afa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485219

View File

@ -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>