summaryrefslogtreecommitdiffstats
path: root/gis/opencpn-plugin-oesenc/multilib-strict.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gis/opencpn-plugin-oesenc/multilib-strict.patch')
-rw-r--r--gis/opencpn-plugin-oesenc/multilib-strict.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gis/opencpn-plugin-oesenc/multilib-strict.patch b/gis/opencpn-plugin-oesenc/multilib-strict.patch
new file mode 100644
index 0000000000..d1a80d8fc1
--- /dev/null
+++ b/gis/opencpn-plugin-oesenc/multilib-strict.patch
@@ -0,0 +1,14 @@
+diff -up oesenc_pi-2.9.1601/CMakeLists.txt.orig1 oesenc_pi-2.9.1601/CMakeLists.txt
+--- oesenc_pi-2.9.1601/CMakeLists.txt.orig1 2019-04-03 20:56:51.982839060 -0500
++++ oesenc_pi-2.9.1601/CMakeLists.txt 2019-04-03 20:58:02.487835992 -0500
+@@ -99,6 +99,10 @@ IF (NOT WIN32)
+ ENDIF (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
+ ENDIF (EXISTS /etc/debian_version)
+
++ IF (EXISTS /etc/slackware-version)
++ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
++ ENDIF (EXISTS /etc/slackware-version)
++
+ IF (EXISTS /etc/redhat-release)
+ SET (PACKAGE_FORMAT "RPM")
+ SET (PACKAGE_DEPS "opencpn")