Date: Sun, 25 Nov 2018 12:44:53 +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: r485857 - head/math/plplot/files Message-ID: <201811251244.wAPCir9S022931@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811251244.wAPCir9S022931>