summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-02-06 16:25:15 +0000
committermaya <maya@pkgsrc.org>2018-02-06 16:25:15 +0000
commit465f56e19e7af48668dc17900e7456ee758267fb (patch)
tree9e752d29b94663cb417e9b7eea029087accd8d1c /textproc
parent586be75faefc41d2fcd64cce01448a4170deebd5 (diff)
downloadpkgsrc-465f56e19e7af48668dc17900e7456ee758267fb.tar.gz
rapidjson: remove -march=native, force fail doxygen configure test.
-march=native yields an error in some configurations. doxygen is not a dependency, so if the user has it and it's detected, we have plist mismatches. PKGREVISION++
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rapidjson/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/rapidjson/Makefile b/textproc/rapidjson/Makefile
index a996ebcf861..92ac5b2beb1 100644
--- a/textproc/rapidjson/Makefile
+++ b/textproc/rapidjson/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/11/26 23:37:18 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/02/06 16:25:15 maya Exp $
DISTNAME= rapidjson-1.1.0
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=Tencent/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -14,6 +15,9 @@ USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c++11
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE
+
PKGCONFIG_OVERRIDE+= RapidJSON.pc.in
+BUILDLINK_TRANSFORM+= rm:-march=native
.include "../../mk/bsd.pkg.mk"