aboutsummaryrefslogtreecommitdiff
path: root/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
diff options
context:
space:
mode:
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 b30a6f3f61931..3ec0ec0280ec5 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