svn commit: r447877 - head/lang/cint
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Aug 13 11:13:01 UTC 2017
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\
More information about the svn-ports-all
mailing list