ports/editors/neovim/files/patch-CMakeLists.txt
Mathieu Arnold c8254ba4ca Update to 0.1.4.
PR:		209294
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-05-09 13:43:03 +00:00

20 lines
646 B
Text

--- CMakeLists.txt.orig 2016-05-09 13:04:04 UTC
+++ CMakeLists.txt
@@ -213,7 +213,7 @@ else()
# On FreeBSD 64 math.h uses unguarded C11 extension, which taints clang
# 3.4.1 used there.
- if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND CMAKE_C_COMPILER_ID MATCHES "Clang")
add_definitions(-Wno-c11-extensions)
endif()
endif()
@@ -367,7 +367,7 @@ endforeach()
# Find Lua interpreter
include(LuaHelpers)
-set(LUA_DEPENDENCIES lpeg mpack bit)
+set(LUA_DEPENDENCIES lpeg bit)
if(NOT LUA_PRG)
foreach(CURRENT_LUA_PRG luajit lua)
# If LUA_PRG is set find_program() will not search