svn commit: r485857 - head/math/plplot/files
Tobias C. Berner
tcberner at FreeBSD.org
Sun Nov 25 12:44:54 UTC 2018
Author: tcberner
Date: Sun Nov 25 12:44:53 2018
New Revision: 485857
URL: https://svnweb.freebsd.org/changeset/ports/485857
Log:
math/plplot: prepare for cmake-3.13
PR: 233411
Reported by: antoine
Added:
head/math/plplot/files/patch-cmake_modules_pkg-config.cmake (contents, props changed)
Added: head/math/plplot/files/patch-cmake_modules_pkg-config.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/plplot/files/patch-cmake_modules_pkg-config.cmake Sun Nov 25 12:44:53 2018 (r485857)
@@ -0,0 +1,19 @@
+The *internal* _pkg_check_modules_internal macro of cmake gained another
+parameter in cmake-3.13.
+
+https://gitlab.kitware.com/cmake/cmake/commit/7aa26cf0e9319be3f7785763eb3699823453eb60
+
+--- cmake/modules/pkg-config.cmake.orig 2018-11-25 12:01:15 UTC
++++ cmake/modules/pkg-config.cmake
+@@ -122,8 +122,10 @@ macro(pkg_check_pkgconfig _package _include_DIR _link_
+ _pkg_check_modules_internal(0 0 ${_prefix} "${_package}")
+ elseif(CMAKE_VERSION VERSION_LESS "3.6")
+ _pkg_check_modules_internal(0 0 0 0 ${_prefix} "${_package}")
+- else(CMAKE_VERSION VERSION_LESS "3.1")
++ elseif(CMAKE_VERSION VERSION_LESS "3.13")
+ _pkg_check_modules_internal(0 0 0 0 0 ${_prefix} "${_package}")
++ else(CMAKE_VERSION VERSION_LESS "3.1")
++ _pkg_check_modules_internal(0 0 0 0 0 0 ${_prefix} "${_package}")
+ endif(CMAKE_VERSION VERSION_LESS "3.1")
+
+ if(${_prefix}_FOUND)
More information about the svn-ports-head
mailing list