svn commit: r506268 - head/databases/soci

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jul 9 08:36:35 UTC 2019


Author: pkubaj
Date: Tue Jul  9 08:36:33 2019
New Revision: 506268
URL: https://svnweb.freebsd.org/changeset/ports/506268

Log:
  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)

Modified:
  head/databases/soci/Makefile

Modified: head/databases/soci/Makefile
==============================================================================
--- head/databases/soci/Makefile	Tue Jul  9 08:32:14 2019	(r506267)
+++ head/databases/soci/Makefile	Tue Jul  9 08:36:33 2019	(r506268)
@@ -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
 


More information about the svn-ports-head mailing list