Index: head/databases/tarantool-c/Makefile =================================================================== --- head/databases/tarantool-c/Makefile (revision 504085) +++ head/databases/tarantool-c/Makefile (revision 504086) @@ -1,26 +1,32 @@ # $FreeBSD$ PORTNAME= tarantool-c PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org COMMENT= C client for Tarantool 1.6+ LICENSE= BSD2CLAUSE LIB_DEPENDS= libmsgpuck.so:devel/msgpuck -USES= cmake +USES= cmake compiler CMAKE_OFF= ENABLE_BUNDLED_DOCS ENABLE_BUNDLED_MSGPUCK USE_GITHUB= yes GH_ACCOUNT= tarantool GH_TAGNAME= d93096a post-patch: @${GREP} -lr 'msgpuck/msgpuck.h' ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|msgpuck/msgpuck.h|msgpuck.h|' -.include +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-tnt_CMakeLists.txt +.endif + +.include Index: head/databases/tarantool-c/files/extra-patch-tnt_CMakeLists.txt =================================================================== --- head/databases/tarantool-c/files/extra-patch-tnt_CMakeLists.txt (nonexistent) +++ head/databases/tarantool-c/files/extra-patch-tnt_CMakeLists.txt (revision 504086) @@ -0,0 +1,14 @@ +--- tnt/CMakeLists.txt.orig 2019-02-21 14:33:51 UTC ++++ tnt/CMakeLists.txt +@@ -49,8 +49,9 @@ set (TNT_SOURCES + # Builds + #----------------------------------------------------------------------------# + +-set_source_files_properties(${PROJECT_SOURCE_DIR}/third_party/uri.c PROPERTIES +- COMPILE_FLAGS "-Wno-implicit-fallthrough") ++# -Wno-implicit-fallthrough only has meaning for llvm ++#set_source_files_properties(${PROJECT_SOURCE_DIR}/third_party/uri.c PROPERTIES ++# COMPILE_FLAGS "-Wno-implicit-fallthrough") + + ## Static library + project(tnt) Property changes on: head/databases/tarantool-c/files/extra-patch-tnt_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property