summaryrefslogtreecommitdiffstats
path: root/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
diff options
context:
space:
mode:
author M.Dinslage2019-04-06 01:02:12 +0200
committer Willy Sudiarto Raharjo2019-04-06 01:51:04 +0200
commit9f29ae5b23748750dab39ba8960388a06b53d232 (patch)
tree4e69eb4a0b5b4de8112c3be7a9f65c560778d667 /gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
parent4473c98f20b17650f8430c0179f8a8e46b7a289a (diff)
downloadslackbuilds-9f29ae5b23748750dab39ba8960388a06b53d232.tar.gz
gis/opencpn-plugin-oesenc: Updated for version 2.9.1601.
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, 6 insertions, 1 deletions
diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
index 60bfef587b..9d6ed6658d 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:-2.1.0}
+VERSION=${VERSION:-2.9.1601}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,9 @@ find -L . \
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
+
mkdir -p build
cd build
cmake \
@@ -82,6 +85,8 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1