Page MenuHomeFreeBSD

D13662.id37178.diff
No OneTemporary

D13662.id37178.diff

Index: devel/cmake/Makefile
===================================================================
--- devel/cmake/Makefile
+++ devel/cmake/Makefile
@@ -4,6 +4,7 @@
PORTNAME= cmake
# Remember to update devel/cmake-doc and devel/cmake-gui as well.
DISTVERSION= 3.10.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/
@@ -19,7 +20,7 @@
libuv.so:devel/libuv \
librhash.so:security/rhash
-USES= libarchive ncurses
+USES= compiler:c++11-lang libarchive ncurses
HAS_CONFIGURE= yes
CONFIGURE_ENV= MAKE=make
Index: devel/cmake/files/patch-Modules_FindBoost.cmake
===================================================================
--- /dev/null
+++ devel/cmake/files/patch-Modules_FindBoost.cmake
@@ -0,0 +1,12 @@
+Allow imported targets, even with newer Boost.
+
+--- Modules/FindBoost.cmake.orig 2017-12-28 14:26:29 UTC
++++ Modules/FindBoost.cmake
+@@ -799,7 +799,6 @@ function(_Boost_COMPONENT_DEPENDENCIES c
+ endif()
+ if(NOT Boost_VERSION VERSION_LESS 106600)
+ message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets")
+- set(_Boost_IMPORTED_TARGETS FALSE)
+ endif()
+ endif()
+

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 17, 6:26 PM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25438785
Default Alt Text
D13662.id37178.diff (1 KB)

Event Timeline