diff options
author | bouyer <bouyer@pkgsrc.org> | 2018-11-25 17:04:40 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2018-11-25 17:04:40 +0000 |
commit | 2f9cb3264af475d51630e094382a496271cea17b (patch) | |
tree | 8608c39c20d6a310d0418b72c143b2792c9a404e /geography | |
parent | ccea8a81527ef6c1bb774aa9b907032e7ec7580d (diff) | |
download | pkgsrc-2f9cb3264af475d51630e094382a496271cea17b.tar.gz |
Do not force the gtk version, let cmake find the right one from buildlink.
No change to binaries so no revision bump.
Diffstat (limited to 'geography')
-rw-r--r-- | geography/opencpn/distinfo | 4 | ||||
-rw-r--r-- | geography/opencpn/patches/patch-CMakeLists.txt | 15 |
2 files changed, 7 insertions, 12 deletions
diff --git a/geography/opencpn/distinfo b/geography/opencpn/distinfo index 59760c9b3ce..72f72a9d02a 100644 --- a/geography/opencpn/distinfo +++ b/geography/opencpn/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.22 2018/11/15 12:23:01 bouyer Exp $ +$NetBSD: distinfo,v 1.23 2018/11/25 17:04:40 bouyer Exp $ SHA1 (OpenCPN-4.8.8.zip) = 96181b5785988b97d4fcfc851408652e1322aa59 RMD160 (OpenCPN-4.8.8.zip) = fbb22e01f212943d4581cbf18bcab674fdb9786f SHA512 (OpenCPN-4.8.8.zip) = 7f3973c7f488c7a1924f4e4a20b626fdeb174a0b04d7f4c2fe4936022863c1aa00eec06477507a00bdcb654759c42f084d27afafeee318cfc2611ff2c83faef1 Size (OpenCPN-4.8.8.zip) = 61811803 bytes -SHA1 (patch-CMakeLists.txt) = 6d11df2c83e445050c91e23ec6657798726b4338 +SHA1 (patch-CMakeLists.txt) = f910ed2ba317070ec536fd1ee1230364964755da SHA1 (patch-FindPortaudio.cmake) = e1bebe2203c6f3dc76f92ee5bdcb01eca66b6b9a SHA1 (patch-plugins_chartdldr_pi_CMakeLists.txt) = 52962f6feac45a766fc2dff08d2802e946ccfc85 SHA1 (patch-plugins_chartdldr_pi_cmake_PluginConfigure.cmake) = 29fbfaee37e2a932b923df6ff7541dad37e14d65 diff --git a/geography/opencpn/patches/patch-CMakeLists.txt b/geography/opencpn/patches/patch-CMakeLists.txt index 5a3d3a48ef5..7c6f55dfa2a 100644 --- a/geography/opencpn/patches/patch-CMakeLists.txt +++ b/geography/opencpn/patches/patch-CMakeLists.txt @@ -1,7 +1,7 @@ -$NetBSD: patch-CMakeLists.txt,v 1.7 2018/07/19 17:58:57 bouyer Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.8 2018/11/25 17:04:40 bouyer Exp $ ---- CMakeLists.txt.orig 2018-02-07 12:08:26.000000000 +0100 -+++ CMakeLists.txt 2018-07-19 17:20:24.093239101 +0200 +--- CMakeLists.txt.orig 2018-11-07 04:14:41.000000000 +0100 ++++ CMakeLists.txt 2018-11-25 14:47:14.684811535 +0100 @@ -91,8 +91,21 @@ # Based on code from nohal IF (NOT WIN32) @@ -42,20 +42,15 @@ $NetBSD: patch-CMakeLists.txt,v 1.7 2018/07/19 17:58:57 bouyer Exp $ find_path(OPENGLESv1_INCLUDE_DIR GLES/gl.h ) IF (OPENGLESv1_INCLUDE_DIR) MESSAGE (STATUS "Found OpenGLESv1") -@@ -868,7 +880,11 @@ +@@ -927,7 +939,6 @@ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID) - OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) -+ IF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") -+ OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" ON) -+ ELSE(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") -+ OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) -+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") IF(NOT OCPN_FORCE_GTK3) FIND_PACKAGE(GTK2) -@@ -1919,10 +1935,10 @@ +@@ -1978,10 +1989,10 @@ # Certain older Cmake FindGTK2 modules ( e.g. cmake-2.8.0-2) do not yield all of the required link libraries # So, add them manually. These declarations may be redundant in some architectures, but do no harm. |