Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 11:13:00 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447877 - head/lang/cint
Message-ID:  <201708131113.v7DBD0jO025442@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Aug 13 11:12:59 2017
New Revision: 447877
URL: https://svnweb.freebsd.org/changeset/ports/447877

Log:
  Explicitly pass -std=gnu++03 to the build.
  
  This allows the port to build with GCC 6, which defaults to -std=gnu++14. The
  port's code does not work with C++11 or later.
  
  PR:		217008
  Approved by:	maintainer timeout (fjoe, 16 days)

Modified:
  head/lang/cint/Makefile

Modified: head/lang/cint/Makefile
==============================================================================
--- head/lang/cint/Makefile	Sun Aug 13 11:10:47 2017	(r447876)
+++ head/lang/cint/Makefile	Sun Aug 13 11:12:59 2017	(r447877)
@@ -22,6 +22,10 @@ USES=		gmake readline tar:tgz
 USE_LDCONFIG=	${PREFIX}/lib/cint
 ALL_TARGET=
 
+# The port does not build with C++11/C++14, so explicitly use an older
+# standard.
+USE_CXXSTD=	gnu++03
+
 INSTALL_ARGS=	--bindir=${STAGEDIR}${PREFIX}/bin\
 		--libdir=${STAGEDIR}${PREFIX}/lib/cint\
 		--mandir=${STAGEDIR}${PREFIX}/man\



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