Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 21:44:38 +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: r446699 - head/www/anyterm
Message-ID:  <201707262144.v6QLicgC004228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Wed Jul 26 21:44:37 2017
New Revision: 446699
URL: https://svnweb.freebsd.org/changeset/ports/446699

Log:
  Force an older C++ standard than C++11 to build.
  
  This fixes the build with GCC >= 6, which use C++11 by default. This version of
  anyterm is not compatible with C++11.
  
  PR:		219296
  Approved by:	Douglas Thrift <douglas@douglasthrift.net>

Modified:
  head/www/anyterm/Makefile

Modified: head/www/anyterm/Makefile
==============================================================================
--- head/www/anyterm/Makefile	Wed Jul 26 21:30:02 2017	(r446698)
+++ head/www/anyterm/Makefile	Wed Jul 26 21:44:37 2017	(r446699)
@@ -28,6 +28,10 @@ ALL_TARGET=	default_target
 PLIST_FILES=	man/man1/anytermd.1.gz \
 		sbin/anytermd
 
+# Force the use of an older C++ standard; anyterm 1.1.29 is not compatible with
+# C++11.
+USE_CXXSTD=	gnu++03
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \
 		${WRKSRC}/scripts/mimetype.sh



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