svn commit: r448222 - head/databases/fastdb

Raphael Kubo da Costa rakuco at FreeBSD.org
Fri Aug 18 12:25:31 UTC 2017


Author: rakuco
Date: Fri Aug 18 12:25:30 2017
New Revision: 448222
URL: https://svnweb.freebsd.org/changeset/ports/448222

Log:
  Explicitly pass -std=gnu++03 to the compiler.
  
  This fixes the build with GCC 6, which defaults to -std=gnu++14. The port's
  code does not work with C++11 or later.
  
  PR:		219275

Modified:
  head/databases/fastdb/Makefile

Modified: head/databases/fastdb/Makefile
==============================================================================
--- head/databases/fastdb/Makefile	Fri Aug 18 12:21:43 2017	(r448221)
+++ head/databases/fastdb/Makefile	Fri Aug 18 12:25:30 2017	(r448222)
@@ -25,6 +25,9 @@ DOS2UNIX_FILES=	${MAKEFILE}
 
 PORTDOCS=	FastDB.htm
 
+# The port does not build with C++11 or later (bug 219275).
+USE_CXXSTD=	gnu++03
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list