svn commit: r448221 - head/cad/alliance

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


Author: rakuco
Date: Fri Aug 18 12:21:43 2017
New Revision: 448221
URL: https://svnweb.freebsd.org/changeset/ports/448221

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/cad/alliance/Makefile

Modified: head/cad/alliance/Makefile
==============================================================================
--- head/cad/alliance/Makefile	Fri Aug 18 12:19:27 2017	(r448220)
+++ head/cad/alliance/Makefile	Fri Aug 18 12:21:43 2017	(r448221)
@@ -33,6 +33,9 @@ CONFIGURE_ENV+=	ALLIANCE_TOP=${ALLIANCE_TOP}
 CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
 		--prefix=${ALLIANCE_TOP}
 
+# The port does not build with C++11 or later (bug 219275).
+USE_CXXSTD=	gnu++03
+
 MAKE_JOBS_UNSAFE=	yes
 
 post-patch:


More information about the svn-ports-head mailing list