mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/mysql-workbench: Force building over python-2.7.
(In case python-3.x is also installed) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
a758e7fbd8
commit
5c0c01fbed
2 changed files with 10 additions and 4 deletions
|
@ -12,3 +12,6 @@ environment for:
|
|||
You need to allow MySQL to accept incoming connections from outside:
|
||||
Remove or comment this line: SKIP="--skip-networking" and then do:
|
||||
/etc/rc.d/rc.mysqld restart
|
||||
|
||||
Note: MySQL Workbench will be built against Python 2.7 even when Python 3.x
|
||||
is installed on your system
|
||||
|
|
|
@ -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@slackbuilds.org>
|
||||
# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
PRGNAM=mysql-workbench
|
||||
VERSION=${VERSION:-6.0.8}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCVERSION=$VERSION-src
|
||||
|
@ -67,8 +67,8 @@ tar xvf $CWD/$PRGNAM-community-$SRCVERSION.tar.gz
|
|||
cd $PRGNAM-community-$SRCVERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
|
@ -82,7 +82,10 @@ cmake \
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
|
||||
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 \
|
||||
-DPYTHON_LIBRARY:FILEPATH=/usr/lib$LIBDIRSUFFIX/libpython2.7.so \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
|
||||
make
|
||||
|
||||
# we will remove it later after installation
|
||||
|
|
Loading…
Reference in a new issue