Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 09:36:56 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483249 - in head: benchmarks/polygraph cad/alliance cad/freehdl databases/fastdb devel/aegis devel/rhtvision emulators/pearpc graphics/animorph irc/ezbounce lang/cint math/minisat net-...
Message-ID:  <201810280936.w9S9aufi036231@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Oct 28 09:36:56 2018
New Revision: 483249
URL: https://svnweb.freebsd.org/changeset/ports/483249

Log:
  Downgrade C++03 to C++98, actual default for GCC < 6
  
  GCC 4.2 in base system doesn't support C++03:
  cc1plus: error: unrecognized command line option "-std=gnu++03"

Modified:
  head/benchmarks/polygraph/Makefile   (contents, props changed)
  head/cad/alliance/Makefile   (contents, props changed)
  head/cad/freehdl/Makefile   (contents, props changed)
  head/databases/fastdb/Makefile   (contents, props changed)
  head/devel/aegis/Makefile   (contents, props changed)
  head/devel/rhtvision/Makefile   (contents, props changed)
  head/emulators/pearpc/Makefile   (contents, props changed)
  head/graphics/animorph/Makefile   (contents, props changed)
  head/irc/ezbounce/Makefile   (contents, props changed)
  head/lang/cint/Makefile   (contents, props changed)
  head/math/minisat/Makefile   (contents, props changed)
  head/net-p2p/verlihub-plugins-floodprotect/Makefile   (contents, props changed)
  head/www/anyterm/Makefile   (contents, props changed)

Modified: head/benchmarks/polygraph/Makefile
==============================================================================
--- head/benchmarks/polygraph/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/benchmarks/polygraph/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -24,7 +24,7 @@ USE_GCC=	any
 GNU_CONFIGURE=	yes
 
 # The port does not build with C++11 or later (bug 219275).
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 CONFLICTS=	ltrace-0*
 

Modified: head/cad/alliance/Makefile
==============================================================================
--- head/cad/alliance/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/cad/alliance/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -18,9 +18,6 @@ LICENSE_FILE=	${WRKSRC}/LICENCE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 BROKEN_aarch64=		fails to link: collect2: error: ld returned 1 exit status
-BROKEN_mips=		fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
-BROKEN_mips64=		fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
-BROKEN_powerpc64=	fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
 
 CONFLICTS_INSTALL=	fspclient-*
 
@@ -38,7 +35,7 @@ CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
 		--prefix=${ALLIANCE_TOP}
 
 # The port does not build with C++11 or later (bug 219275).
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 MAKE_JOBS_UNSAFE=	yes
 

Modified: head/cad/freehdl/Makefile
==============================================================================
--- head/cad/freehdl/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/cad/freehdl/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -17,11 +17,11 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	SYSTEM_LIBTOOL=${FALSE}
 INSTALL_TARGET=	install-strip
 
-# Bug 219297: GCC 6 changed its default from -std=gnu++03 to -std=gnu++14, and
+# Bug 219297: GCC 6 changed its default from -std=gnu++98 to -std=gnu++14, and
 # this port's code is not compatible with C++11. Since the project looks
 # abandoned upstream, it makes more sense to just continue building with an
 # older C++ standard.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 INFO=		fire
 

Modified: head/databases/fastdb/Makefile
==============================================================================
--- head/databases/fastdb/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/databases/fastdb/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -12,10 +12,6 @@ COMMENT=	Main Memory Relational Database Management Sy
 
 LICENSE=	MIT
 
-BROKEN_mips=		fails to compile: unrecognized command line option "-std=gnu++03"
-BROKEN_mips64=		fails to compile: unrecognized command line option "-std=gnu++03"
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-std=gnu++03"
-
 USES=		gmake dos2unix
 USE_GCC=	any
 MAKE_ENV=	OSTYPE="${OPSYS}"
@@ -31,7 +27,7 @@ OPTIONS_DEFINE=	DOCS
 PORTDOCS=	FastDB.htm
 
 # The port does not build with C++11 or later (bug 219275).
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/devel/aegis/Makefile
==============================================================================
--- head/devel/aegis/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/devel/aegis/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -28,7 +28,7 @@ MAKE_JOBS_UNSAFE=	yes
 
 # GCC 6 switched to -std=gnu++14 by default, which breaks the port (bug
 # 219284). Explicitly use the previous default to keep things going.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes

Modified: head/devel/rhtvision/Makefile
==============================================================================
--- head/devel/rhtvision/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/devel/rhtvision/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -29,7 +29,7 @@ CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 # The port does not build with C++11 or later (bug 219275).
-USE_CXXSTD=     gnu++03
+USE_CXXSTD=     gnu++98
 
 PLIST_SUB=	VERSION="${PORTVERSION:R}"
 

Modified: head/emulators/pearpc/Makefile
==============================================================================
--- head/emulators/pearpc/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/emulators/pearpc/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -33,7 +33,7 @@ SDL_CONFIGURE_OFF=	--enable-ui=x11
 .if ${ARCH} == "amd64" || ${ARCH} == "i386"
 USE_GCC=	yes
 # The port does not build with C++11 or later (bug 219275).
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 .else
 CONFIGURE_ARGS+=	--enable-cpu=generic
 .endif

Modified: head/graphics/animorph/Makefile
==============================================================================
--- head/graphics/animorph/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/graphics/animorph/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -12,16 +12,12 @@ COMMENT=	Morphing engine for MakeHuman
 
 LICENSE=	LGPL21
 
-BROKEN_mips=		fails to compile: unrecognized command line option "-std=gnu++03"
-BROKEN_mips64=		fails to compile: unrecognized command line option "-std=gnu++03"
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-std=gnu++03"
-
 GNU_CONFIGURE=	yes
 USES=		pkgconfig gmake libtool
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 USE_GCC=	any # otherwise graphics/makehuman won't link
-USE_CXXSTD=	gnu++03  # The port is not compatible with C++11 and later.
+USE_CXXSTD=	gnu++98  # The port is not compatible with C++11 and later.
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

Modified: head/irc/ezbounce/Makefile
==============================================================================
--- head/irc/ezbounce/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/irc/ezbounce/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -28,7 +28,7 @@ USE_GCC=	any
 
 # ezbounce 1.99.15 isn't compatible with C++11 and later, which some compilers
 # such as GCC 6 default to.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 SUB_FILES=	pkg-message
 

Modified: head/lang/cint/Makefile
==============================================================================
--- head/lang/cint/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/lang/cint/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -24,7 +24,7 @@ ALL_TARGET=
 
 # The port does not build with C++11/C++14, so explicitly use an older
 # standard.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 INSTALL_ARGS=	--bindir=${STAGEDIR}${PREFIX}/bin\
 		--libdir=${STAGEDIR}${PREFIX}/lib/cint\

Modified: head/math/minisat/Makefile
==============================================================================
--- head/math/minisat/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/math/minisat/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		gmake
 USE_LDCONFIG=	yes
-MAKE_ENV=	prefix=${PREFIX} CFLAGS="-std=c++03"
+MAKE_ENV=	prefix=${PREFIX} CFLAGS="-std=gnu++98"
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \

Modified: head/net-p2p/verlihub-plugins-floodprotect/Makefile
==============================================================================
--- head/net-p2p/verlihub-plugins-floodprotect/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/net-p2p/verlihub-plugins-floodprotect/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -17,7 +17,7 @@ PLUGIN_DESC=	Floodprotect
 
 # Bug 219281: the port fails to build in C++14 mode (the default in GCC 6),
 # switch back to the old default GCC used before.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 .include "../verlihub-plugins/Makefile.plugins"
 .include <bsd.port.mk>

Modified: head/www/anyterm/Makefile
==============================================================================
--- head/www/anyterm/Makefile	Sun Oct 28 09:32:59 2018	(r483248)
+++ head/www/anyterm/Makefile	Sun Oct 28 09:36:56 2018	(r483249)
@@ -31,7 +31,7 @@ PLIST_FILES=	man/man1/anytermd.1.gz \
 
 # Force the use of an older C++ standard; anyterm 1.1.29 is not compatible with
 # C++11.
-USE_CXXSTD=	gnu++03
+USE_CXXSTD=	gnu++98
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \



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