summaryrefslogtreecommitdiff
path: root/geography/opencpn-plugin-watchdog
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2016-05-21 10:50:41 +0000
committerbouyer <bouyer@pkgsrc.org>2016-05-21 10:50:41 +0000
commit2288617cf8ff06b64904674a1c1f146fe37c09c4 (patch)
treeae155d50ddf24b5d4748b1f182e6893de53680d4 /geography/opencpn-plugin-watchdog
parentbdd6ae1b42db9691f99b50e7448b56978c631b5d (diff)
downloadpkgsrc-2288617cf8ff06b64904674a1c1f146fe37c09c4.tar.gz
Make theses build (and run) on linux
Diffstat (limited to 'geography/opencpn-plugin-watchdog')
-rw-r--r--geography/opencpn-plugin-watchdog/distinfo4
-rw-r--r--geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake10
2 files changed, 9 insertions, 5 deletions
diff --git a/geography/opencpn-plugin-watchdog/distinfo b/geography/opencpn-plugin-watchdog/distinfo
index 8fcdc5b03da..04588fb0999 100644
--- a/geography/opencpn-plugin-watchdog/distinfo
+++ b/geography/opencpn-plugin-watchdog/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/04/24 10:23:38 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2016/05/21 10:50:41 bouyer Exp $
SHA1 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = b87098bc762224d7b58b115d7e8e16fc9874996d
RMD160 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = 60f4de1fc7b716946c7e1a65c4dca93a9347da22
SHA512 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = e930baa1164e794cbc752e1cb321a6203857c1f24fcf90a20beea22586e71aac1f468eeae825d2c38cec7a57056ac102928b39cb815b3d907f21ee0c696f3f54
Size (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = 409199 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = 2b4058ef26c9e711a05c93103da576bd3fb60a58
+SHA1 (patch-cmake_PluginConfigure.cmake) = 72713695893417f0e56fa78c624295fc0ca39470
diff --git a/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
index c28f834d7d4..269cfa2424f 100644
--- a/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
@@ -1,15 +1,19 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/04/24 10:23:38 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.2 2016/05/21 10:50:41 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
--- cmake/PluginConfigure.cmake.orig 2016-04-13 23:56:21.000000000 +0200
-+++ cmake/PluginConfigure.cmake 2016-04-15 16:25:56.000000000 +0200
-@@ -40,11 +40,9 @@
++++ cmake/PluginConfigure.cmake 2016-05-21 12:26:00.398634165 +0200
+@@ -40,11 +40,13 @@
ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O0 -fexceptions" )
ENDIF(PROFILING)
- IF(NOT APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
- ELSE(NOT APPLE)
++ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
++ ADD_DEFINITIONS( "-fPIC")
++ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
+ IF(APPLE)
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
- ENDIF(NOT APPLE)