svn commit: r492280 - head/comms/gsmlib

Mark Linimon linimon at FreeBSD.org
Wed Feb 6 00:14:19 UTC 2019


Author: linimon
Date: Wed Feb  6 00:14:18 2019
New Revision: 492280
URL: https://svnweb.freebsd.org/changeset/ports/492280

Log:
  CXXFLAGS+=-Wno-c++11-narrowing is not supported by base GCC.  Instead
  add USE_CXXSTD=c++98 which makes this port compile by both base GCC and
  Clang.
  
  PR:		235527
  Submitted by:	Piotr Kubaj

Modified:
  head/comms/gsmlib/Makefile

Modified: head/comms/gsmlib/Makefile
==============================================================================
--- head/comms/gsmlib/Makefile	Wed Feb  6 00:10:49 2019	(r492279)
+++ head/comms/gsmlib/Makefile	Wed Feb  6 00:14:18 2019	(r492280)
@@ -17,13 +17,13 @@ LICENSE=	LGPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake libtool
+USE_CXXSTD=	c++98
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
 CPPFLAGS+=	-DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
 LDFLAGS+=	-lpthread
-CXXFLAGS+=	-Wno-c++11-narrowing
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes


More information about the svn-ports-all mailing list