Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 08:36:34 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506268 - head/databases/soci
Message-ID:  <201907090836.x698aYvu082058@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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