devel/cmake: unbreak net/ceph with boost 1.66

PR:		224185
Submitted by:	adridg
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D13662
This commit is contained in:
Jan Beich 2018-01-18 04:01:24 +00:00
parent 6d0bed2564
commit 2cd6161419
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459314
2 changed files with 13 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= cmake
# Remember to update devel/cmake-doc and devel/cmake-gui as well.
DISTVERSION= 3.10.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/

View File

@ -0,0 +1,12 @@
Allow imported targets, even with newer Boost.
--- Modules/FindBoost.cmake.orig 2017-12-13 13:25:23 UTC
+++ Modules/FindBoost.cmake
@@ -799,7 +799,6 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret)
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()