summaryrefslogtreecommitdiffstats
path: root/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
diff options
context:
space:
mode:
author M.Dinslage2019-09-06 17:30:23 +0200
committer Willy Sudiarto Raharjo2019-09-06 17:30:23 +0200
commiteacad03cfb413b3b03677f4bf9ad2b4571a62659 (patch)
treebc95ad8613db0b0a549c88132ae58b30043751f3 /gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
parent2674968f7a770df610d9808e35331dc3dc6ea299 (diff)
downloadslackbuilds-eacad03cfb413b3b03677f4bf9ad2b4571a62659.tar.gz
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/opencpn-plugin-oesenc.SlackBuild')
-rw-r--r--gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
index b30a6f3f61..3ec0ec0280 100644
--- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
+++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opencpn-plugin-oesenc
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Don't hardcode the LIB directory
sed -i -e 's/^ SET (LIB_INSTALL_DIR "lib")/ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")/' \
cmake/PluginInstall.cmake
-# fix shared object installing to wrong directory
-patch -p1 < $CWD/multilib-strict.patch
+# add detection logic for Slackware so libraries get installed to proper location.
+patch -p1 < $CWD/slackware-detection-logic.patch
mkdir -p build
cd build