Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 10:38:19 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483266 - head/devel/rapidjson
Message-ID:  <201810281038.w9SAcJZZ068825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Oct 28 10:38:18 2018
New Revision: 483266
URL: https://svnweb.freebsd.org/changeset/ports/483266

Log:
  Fix build with GCC-based architectures.
  
  PR:		232091
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/rapidjson/Makefile

Modified: head/devel/rapidjson/Makefile
==============================================================================
--- head/devel/rapidjson/Makefile	Sun Oct 28 10:35:52 2018	(r483265)
+++ head/devel/rapidjson/Makefile	Sun Oct 28 10:38:18 2018	(r483266)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	rapidjson
-DISTVERSIONPREFIX=	v
 PORTVERSION=	1.1.0
+DISTVERSIONPREFIX=	v
 PORTREVISION=	4
 CATEGORIES=	devel textproc
 
@@ -37,6 +37,10 @@ PORTDATA=	*
 .include <bsd.port.pre.mk>
 
 CXXFLAGS+=	-Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761
+CXXFLAGS_powerpc=	-Wno-error
+CXXFLAGS_powerpcspe=	-Wno-error
+CXXFLAGS_powerpc64=	-Wno-error
+CXXFLAGS_sparc64=	-Wno-error
 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 50
 CXXFLAGS+=	-Wno-zero-as-null-pointer-constant
 .endif



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