Index: head/databases/tarantool-c/Makefile =================================================================== --- head/databases/tarantool-c/Makefile (revision 441825) +++ head/databases/tarantool-c/Makefile (revision 441826) @@ -1,26 +1,29 @@ # $FreeBSD$ PORTNAME= tarantool-c PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= databases MAINTAINER= vg@FreeBSD.org COMMENT= C client for Tarantool 1.6+ LIB_DEPENDS= libmsgpuck.so:devel/msgpuck USE_GITHUB= yes GH_ACCOUNT= tarantool GH_TAGNAME= a251965 USES= cmake CMAKE_ARGS= -DENABLE_BUNDLED_MSGPUCK=false BROKEN_aarch64= Fails to compile: clang compiler does not support -march=native BROKEN_armv6= Fails to compile: clang compiler does not support -march=native BROKEN_mips64= Fails to compile: clang compiler does not support -march=native BROKEN_powerpc64= Fails to compile: clang compiler does not support -march=native BROKEN_sparc64= Fails to compile: clang compiler does not support -march=native +post-patch: + @${REINPLACE_CMD} -e '/-O3 -march=native/d' ${WRKSRC}/CMakeLists.txt + .include Index: head/devel/rapidjson/Makefile =================================================================== --- head/devel/rapidjson/Makefile (revision 441825) +++ head/devel/rapidjson/Makefile (revision 441826) @@ -1,55 +1,54 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= rapidjson PORTVERSION= 1.1.0 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel textproc MAINTAINER= yuri@rawbw.com COMMENT= Fast JSON parser/generator for C++ with both SAX/DOM style API LICENSE= unknown LICENSE_NAME= RapidJSON LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} BROKEN_aarch64= does not build: c++: error: the clang compiler does not support -march=native BROKEN_armv6= does not build: c++: error: the clang compiler does not support -march=native BROKEN_sparc64= does not build: c++: error: the clang compiler does not support -march=native BROKEN_powerpc64= does not build: c++: error: the clang compiler does not support -march=native -DOXYGEN_BUILD_DEPENDS+= doxygen:devel/doxygen - USE_GITHUB= yes GH_ACCOUNT= miloyip USES= cmake compiler:c++11-lang pathfix OPTIONS_DEFINE= DOXYGEN EXAMPLES OPTIONS_DEFAULT=${OPTIONS_DEFINE} OPTIONS_SUB= yes +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CMAKE_ON= -DRAPIDJSON_BUILD_DOC:BOOL=ON DOXYGEN_CMAKE_OFF= -DRAPIDJSON_BUILD_DOC:BOOL=OFF EXAMPLES_CMAKE_ON= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=ON EXAMPLES_CMAKE_OFF= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF CXXFLAGS+= -Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761 MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" CMAKE_ARGS= -DRAPIDJSON_BUILD_TESTS:BOOL=OFF DATADIR= ${PREFIX}/share/doc/RapidJSON PORTDATA= * post-patch: - @${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"| ; s| -march=native||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt @${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715 @${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/CMake* .include