mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
development/mysql-workbench: Respect $LIBDIRSUFFIX.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
8fda0c84c7
commit
114b7c7af8
1 changed files with 3 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for mysql-workbench
|
||||
|
||||
# Originally written by André Geraldo Vieira <andre.geraldo@gmail.com>
|
||||
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -72,9 +72,6 @@ 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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
||||
# Patch from Ponce
|
||||
patch -p1 < $CWD/config_and_ifconfig_paths.patch
|
||||
|
||||
|
@ -84,6 +81,7 @@ cmake \
|
|||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
|
||||
|
@ -93,7 +91,7 @@ touch $TMP/$PRGNAM-community-$SRCVERSION/LICENSE.mysql
|
|||
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
cd ..
|
||||
|
|
Loading…
Reference in a new issue