From owner-svn-ports-all@freebsd.org Wed Jul 18 16:41:20 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02D2110509D9; Wed, 18 Jul 2018 16:41:20 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAC71826CD; Wed, 18 Jul 2018 16:41:19 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C53F1CD0A; Wed, 18 Jul 2018 16:41:19 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6IGfJXx085322; Wed, 18 Jul 2018 16:41:19 GMT (envelope-from fluffy@FreeBSD.org) Received: (from fluffy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6IGfIV8085318; Wed, 18 Jul 2018 16:41:18 GMT (envelope-from fluffy@FreeBSD.org) Message-Id: <201807181641.w6IGfIV8085318@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fluffy set sender to fluffy@FreeBSD.org using -f From: Dima Panov Date: Wed, 18 Jul 2018 16:41:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474884 - in head/devel/cmake: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fluffy X-SVN-Commit-Paths: in head/devel/cmake: . files X-SVN-Commit-Revision: 474884 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 16:41:20 -0000 Author: fluffy Date: Wed Jul 18 16:41:18 2018 New Revision: 474884 URL: https://svnweb.freebsd.org/changeset/ports/474884 Log: CMake: add TCL/Tk 8.7 as supported versions Since TCL/Tk 8.7 release hits the ports and allowed to be default versions, teach CMake modules to find its right way Submitted by: fluffy Reviewed by: tcberner Differential Revision: D16320 Added: head/devel/cmake/files/patch-Modules_FindTCL.cmake (contents, props changed) head/devel/cmake/files/patch-Modules_FindTclStub.cmake (contents, props changed) head/devel/cmake/files/patch-Modules_FindTclsh.cmake (contents, props changed) Modified: head/devel/cmake/Makefile Modified: head/devel/cmake/Makefile ============================================================================== --- head/devel/cmake/Makefile Wed Jul 18 16:38:06 2018 (r474883) +++ head/devel/cmake/Makefile Wed Jul 18 16:41:18 2018 (r474884) @@ -4,7 +4,7 @@ PORTNAME= cmake # Remember to update devel/cmake-doc and devel/cmake-gui as well. DISTVERSION= 3.11.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/ Added: head/devel/cmake/files/patch-Modules_FindTCL.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cmake/files/patch-Modules_FindTCL.cmake Wed Jul 18 16:41:18 2018 (r474884) @@ -0,0 +1,36 @@ +--- Modules/FindTCL.cmake.orig 2018-07-18 21:37:55.956332000 +0800 ++++ Modules/FindTCL.cmake 2018-07-18 21:45:48.214853000 +0800 +@@ -85,6 +85,8 @@ + ) + + set(TCLTK_POSSIBLE_LIB_PATH_SUFFIXES ++ lib/tcl/tcl8.7 ++ lib/tcl/tk8.7 + lib/tcl/tcl8.6 + lib/tcl/tk8.6 + lib/tcl/tcl8.5 +@@ -116,6 +118,7 @@ + NAMES + tcl + tcl${TCL_LIBRARY_VERSION} tcl${TCL_TCLSH_VERSION} tcl${TK_WISH_VERSION} ++ tcl87 tcl8.7 tcl87t tcl8.7t + tcl86 tcl8.6 tcl86t tcl8.6t + tcl85 tcl8.5 + tcl84 tcl8.4 +@@ -130,6 +133,7 @@ + NAMES + tk + tk${TK_LIBRARY_VERSION} tk${TCL_TCLSH_VERSION} tk${TK_WISH_VERSION} ++ tk87 tk8.7 tk87t tk8.7t + tk86 tk8.6 tk86t tk8.6t + tk85 tk8.5 + tk84 tk8.4 +@@ -176,6 +180,8 @@ + set(TCLTK_POSSIBLE_INCLUDE_PATH_SUFFIXES + include/tcl${TK_LIBRARY_VERSION} + include/tcl${TCL_LIBRARY_VERSION} ++ include/tcl8.7 ++ include/tk8.7 + include/tcl8.6 + include/tk8.6 + include/tcl8.5 Added: head/devel/cmake/files/patch-Modules_FindTclStub.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cmake/files/patch-Modules_FindTclStub.cmake Wed Jul 18 16:41:18 2018 (r474884) @@ -0,0 +1,18 @@ +--- Modules/FindTclStub.cmake.orig 2018-07-18 21:37:55.827263000 +0800 ++++ Modules/FindTclStub.cmake 2018-07-18 21:46:40.911277000 +0800 +@@ -101,6 +101,7 @@ + NAMES + tclstub + tclstub${TK_LIBRARY_VERSION} tclstub${TCL_TCLSH_VERSION} tclstub${TK_WISH_VERSION} ++ tclstub87 tclstub8.7 + tclstub86 tclstub8.6 + tclstub85 tclstub8.5 + tclstub84 tclstub8.4 +@@ -114,6 +115,7 @@ + NAMES + tkstub + tkstub${TCL_LIBRARY_VERSION} tkstub${TCL_TCLSH_VERSION} tkstub${TK_WISH_VERSION} ++ tkstub87 tkstub8.7 + tkstub86 tkstub8.6 + tkstub85 tkstub8.5 + tkstub84 tkstub8.4 Added: head/devel/cmake/files/patch-Modules_FindTclsh.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cmake/files/patch-Modules_FindTclsh.cmake Wed Jul 18 16:41:18 2018 (r474884) @@ -0,0 +1,10 @@ +--- Modules/FindTclsh.cmake.orig 2018-07-18 21:37:55.834809000 +0800 ++++ Modules/FindTclsh.cmake 2018-07-18 21:47:04.152861000 +0800 +@@ -68,6 +68,7 @@ + set(TCL_TCLSH_NAMES + tclsh + tclsh${TCL_LIBRARY_VERSION} tclsh${TK_LIBRARY_VERSION} tclsh${TK_WISH_VERSION} ++ tclsh87 tclsh8.7 + tclsh86 tclsh8.6 + tclsh85 tclsh8.5 + tclsh84 tclsh8.4