pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake Fix PR pkg/53816.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50563805282a
branches:  trunk
changeset: 389599:50563805282a
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Fri Jan 04 17:47:12 2019 +0000

description:
Fix PR pkg/53816.

* Fix from upstream: https://gitlab.kitware.com/cmake/cmake/issues/17614
* Patch comment to appease pkglint
* Bump revision

diffstat:

 devel/cmake/Makefile                               |   5 +++--
 devel/cmake/distinfo                               |   5 +++--
 devel/cmake/patches/patch-Modules_FindCurses.cmake |   6 +++++-
 devel/cmake/patches/patch-Modules_FindGTK2.cmake   |  16 ++++++++++++++++
 4 files changed, 27 insertions(+), 5 deletions(-)

diffs (75 lines):

diff -r 9dcc89a3b555 -r 50563805282a devel/cmake/Makefile
--- a/devel/cmake/Makefile      Fri Jan 04 16:02:21 2019 +0000
+++ b/devel/cmake/Makefile      Fri Jan 04 17:47:12 2019 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.156 2018/12/15 23:23:14 adam Exp $
+# $NetBSD: Makefile,v 1.157 2019/01/04 17:47:12 triaxx Exp $
 
 .include "Makefile.version"
 
 DISTNAME=      cmake-${CMAKE_VERSION}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  https://cmake.org/files/v${CMAKE_API}/
 
@@ -12,7 +13,7 @@
 LICENSE=       modified-bsd
 
 USE_TOOLS+=            gmake
-USE_LANGUAGES=         c c++11
+USE_LANGUAGES=         c c++11 fortran
 GCC_REQD+=             4.8
 HAS_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      bootstrap
diff -r 9dcc89a3b555 -r 50563805282a devel/cmake/distinfo
--- a/devel/cmake/distinfo      Fri Jan 04 16:02:21 2019 +0000
+++ b/devel/cmake/distinfo      Fri Jan 04 17:47:12 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.132 2018/12/15 23:23:14 adam Exp $
+$NetBSD: distinfo,v 1.133 2019/01/04 17:47:12 triaxx Exp $
 
 SHA1 (cmake-3.13.2.tar.gz) = 101b8599b5ddd4df9127e227c3fe13ed3d8e266a
 RMD160 (cmake-3.13.2.tar.gz) = a209af76297433cc58f084281a94594281a3fca0
@@ -6,7 +6,8 @@
 Size (cmake-3.13.2.tar.gz) = 8614687 bytes
 SHA1 (patch-CMakeLists.txt) = 01329182725814e27bc3945d1d62555b3a4a4033
 SHA1 (patch-Modules_Compiler_GNU.cmake) = e091c53ac3f3a6cd811119d3231563df32e76bf9
-SHA1 (patch-Modules_FindCurses.cmake) = 09fcd7adfbc2dfc2cd8af4e047d870a5243d77dc
+SHA1 (patch-Modules_FindCurses.cmake) = 1372faaf1b7a1b5f5f592c797f39e1a9002a24a6
+SHA1 (patch-Modules_FindGTK2.cmake) = 51b7520d35fdec2a7bfcf494fe35ce0e3863e4ee
 SHA1 (patch-Modules_FindPythonInterp.cmake) = d1b39bdcd654f2a4fc63463cd20de656cce3cf8f
 SHA1 (patch-Modules_FindPythonLibs.cmake) = b5cedc6a2354beaf08e06d416c150154a7dc1f05
 SHA1 (patch-Modules_FindX11.cmake) = 124a2d51155cb4455e8b829dc74598cbd50a4e1c
diff -r 9dcc89a3b555 -r 50563805282a devel/cmake/patches/patch-Modules_FindCurses.cmake
--- a/devel/cmake/patches/patch-Modules_FindCurses.cmake        Fri Jan 04 16:02:21 2019 +0000
+++ b/devel/cmake/patches/patch-Modules_FindCurses.cmake        Fri Jan 04 17:47:12 2019 +0000
@@ -1,4 +1,8 @@
-$NetBSD: patch-Modules_FindCurses.cmake,v 1.1 2017/01/05 22:34:25 joerg Exp $
+$NetBSD: patch-Modules_FindCurses.cmake,v 1.2 2019/01/04 17:47:12 triaxx Exp $
+
+Recognize libgnuform as valid implementation of a form library to match
+devel/ncurses. This is necessary due to cmake's insistance of scanning
+PREFIX/lib directly.
 
 --- Modules/FindCurses.cmake.orig      2017-01-05 22:24:12.384738412 +0000
 +++ Modules/FindCurses.cmake
diff -r 9dcc89a3b555 -r 50563805282a devel/cmake/patches/patch-Modules_FindGTK2.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cmake/patches/patch-Modules_FindGTK2.cmake  Fri Jan 04 17:47:12 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Modules_FindGTK2.cmake,v 1.1 2019/01/04 17:47:12 triaxx Exp $
+
+Test not enough robust. Open ticket on upstream:
+https://gitlab.kitware.com/cmake/cmake/issues/17614
+
+--- Modules/FindGTK2.cmake.orig        2018-12-13 11:57:40.000000000 +0000
++++ Modules/FindGTK2.cmake
+@@ -762,7 +762,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMP
+         _GTK2_FIND_LIBRARY    (SIGC++ sigc true true)
+         _GTK2_ADD_TARGET      (SIGC++)
+         # Since sigc++ 2.5.1 c++11 support is required
+-        if(GTK2_SIGC++CONFIG_INCLUDE_DIR)
++        if(GTK2_SIGC++_FOUND)
+             _GTK2_SIGCXX_GET_VERSION(GTK2_SIGC++_VERSION_MAJOR
+                                      GTK2_SIGC++_VERSION_MINOR
+                                      GTK2_SIGC++_VERSION_MICRO



Home | Main Index | Thread Index | Old Index