pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/rapidjson rapidjson: remove -march=native, fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4df8153e9b0f
branches:  trunk
changeset: 375244:4df8153e9b0f
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Feb 06 16:25:15 2018 +0000

description:
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:

 textproc/rapidjson/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d8d58f17a6c5 -r 4df8153e9b0f textproc/rapidjson/Makefile
--- a/textproc/rapidjson/Makefile       Tue Feb 06 15:44:10 2018 +0000
+++ b/textproc/rapidjson/Makefile       Tue Feb 06 16:25:15 2018 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index