diff options
author | Eric Hameleers <alien@slackware.com> | 2017-12-22 01:49:05 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-12-22 01:49:05 +0100 |
commit | 46640130d942d93fea98569482a7118f21665e24 (patch) | |
tree | b997de5000804616ca48713c2d1f8c28ff6125fc /deps/lmdb | |
parent | 86e4ef9e64cb6abbb4d1ae3a6e67eb57fc2d9bac (diff) | |
download | ktown-46640130d942d93fea98569482a7118f21665e24.tar.gz ktown-46640130d942d93fea98569482a7118f21665e24.tar.xz |
deps/lmdb: fix the library and man paths
Diffstat (limited to 'deps/lmdb')
-rwxr-xr-x | deps/lmdb/lmdb.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/lmdb/lmdb.SlackBuild b/deps/lmdb/lmdb.SlackBuild index a729ce4..4691f02 100755 --- a/deps/lmdb/lmdb.SlackBuild +++ b/deps/lmdb/lmdb.SlackBuild @@ -24,7 +24,7 @@ PKGNAM=lmdb VERSION=${VERSION:-0.9.21} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} CWD=$(pwd) TMP=${TMP:-/tmp} @@ -73,8 +73,9 @@ cd ${PKGNAM}-LMDB_${VERSION} || exit 1 # Fix a x86_64 installation issue: if [ -n "${LIBDIRSUFFIX}" ]; then - sed -e "s,\(\$(prefix)/lib\);,\1${LIBDIRSUFFIX};," \ - -i libraries/liblmdb/Makefile + sed -i libraries/liblmdb/Makefile \ + -e "s,\(\$(exec_prefix)/lib\),\1${LIBDIRSUFFIX}," \ + -e "s,\$(datarootdir)/man,\$(prefix)/man," fi chown -R root:root . |