Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 20:00:28 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473158 - head/databases/cassandra-cpp-driver/files
Message-ID:  <201806232000.w5NK0SMl003024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Jun 23 20:00:28 2018
New Revision: 473158
URL: https://svnweb.freebsd.org/changeset/ports/473158

Log:
  databases/cassandra-cpp-driver: fix build with libuv-1.21.0
  
  * The version header file was moved to uv/version.h, make cmake look for it

Added:
  head/databases/cassandra-cpp-driver/files/
  head/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake   (contents, props changed)

Added: head/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake	Sat Jun 23 20:00:28 2018	(r473158)
@@ -0,0 +1,11 @@
+--- cmake/modules/CppDriver.cmake.orig	2018-06-23 19:55:39 UTC
++++ cmake/modules/CppDriver.cmake
+@@ -372,6 +372,8 @@ macro(CassUseLibuv)
+ 
+   if (EXISTS "${LIBUV_INCLUDE_DIR}/uv-version.h")
+     set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv-version.h")
++  elseif (EXISTS "${LIBUV_INCLUDE_DIR}/uv/version.h")
++    set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv/version.h")
+   else()
+     set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv.h")
+   endif()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806232000.w5NK0SMl003024>