diff options
Diffstat (limited to 'gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild')
-rw-r--r-- | gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild | 7 |
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 60bfef587b949..9d6ed6658d267 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 |