diff options
author | M.Dinslage <daedra1980@gmail.com> | 2019-09-06 22:30:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-09-06 22:30:23 +0700 |
commit | eacad03cfb413b3b03677f4bf9ad2b4571a62659 (patch) | |
tree | bc95ad8613db0b0a549c88132ae58b30043751f3 /gis/opencpn-plugin-oesenc/slackware-detection-logic.patch | |
parent | 2674968f7a770df610d9808e35331dc3dc6ea299 (diff) |
gis/opencpn-plugin-oesenc: Updated for version 3.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/opencpn-plugin-oesenc/slackware-detection-logic.patch')
-rw-r--r-- | gis/opencpn-plugin-oesenc/slackware-detection-logic.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch b/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch new file mode 100644 index 0000000000000..5075353f71e47 --- /dev/null +++ b/gis/opencpn-plugin-oesenc/slackware-detection-logic.patch @@ -0,0 +1,27 @@ +diff -up oesenc_pi-3.2.0/CMakeLists.txt.orig1 oesenc_pi-3.2.0/CMakeLists.txt +--- oesenc_pi-3.2.0/CMakeLists.txt.orig1 2019-09-01 23:51:42.965365609 -0500 ++++ oesenc_pi-3.2.0/CMakeLists.txt 2019-09-02 00:10:07.037326117 -0500 +@@ -116,18 +116,17 @@ IF (NOT WIN32) + ENDIF(NOT DEFINED PACKAGE_FORMAT)
+
+ IF(NOT DEFINED PACKAGE_FORMAT)
+- IF (EXISTS /etc/os-release OR EXISTS /etc/sysconfig/SuSEfirewall2.d OR EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release)
+- MESSAGE (STATUS "*** OpenSUSE detected ***")
+- SET (PACKAGE_FORMAT "RPM")
+- SET (PACKAGE_DEPS "opencpn")
++ IF (EXISTS /etc/slackware-version)
++ MESSAGE (STATUS "*** Slackware detected ***")
++ SET (PACKAGE_FORMAT "TXZ")
+ IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ SET (ARCH "x86_64")
+- SET (LIB_INSTALL_DIR "lib")
++ SET (LIB_INSTALL_DIR "lib64")
+ ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ SET (ARCH "i386")
+ SET (LIB_INSTALL_DIR "lib")
+ ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+- ENDIF (EXISTS /etc/os-release OR EXISTS /etc/sysconfig/SuSEfirewall2.d OR EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release)
++ ENDIF (EXISTS /etc/slackware-version)
+ ENDIF(NOT DEFINED PACKAGE_FORMAT)
+
+ ENDIF (UNIX AND NOT APPLE)
|