summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-09 08:36:33 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-09 08:36:33 +0000
commit0ab4802a3c4fdec623a496c17ea13edbfe5d581e (patch)
treeda4acf99f482dd97647f79b2d11f05944998b4dc
parentmath/py-symcxx: fix build with GCC-based architectures (diff)
databases/soci: fix build with GCC-based architectures
Add USES=compiler:c++11-lang to fix linking issue against libmysqlclient.so: /usr/local/lib/mysql/libmysqlclient.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' Approved by: mentors (implicit approval)
-rw-r--r--databases/soci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/soci/Makefile b/databases/soci/Makefile
index e829a482e4cf..819b4bdcc074 100644
--- a/databases/soci/Makefile
+++ b/databases/soci/Makefile
@@ -13,7 +13,7 @@ COMMENT= C++ Database Access Library
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
-USES= cmake zip
+USES= cmake compiler:c++11-lang zip
CMAKE_ARGS+= -DWITH_ORACLE:BOOL=OFF
USE_LDCONFIG= yes