svn commit: r483266 - head/devel/rapidjson
Mark Linimon
linimon at FreeBSD.org
Sun Oct 28 10:38:20 UTC 2018
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
More information about the svn-ports-all
mailing list