diff options
Diffstat (limited to 'development/mysql-workbench')
-rw-r--r-- | development/mysql-workbench/README | 3 | ||||
-rw-r--r-- | development/mysql-workbench/mysql-workbench.SlackBuild | 11 |
2 files changed, 10 insertions, 4 deletions
diff --git a/development/mysql-workbench/README b/development/mysql-workbench/README index 9afc1c8f090db..8a3181ae40203 100644 --- a/development/mysql-workbench/README +++ b/development/mysql-workbench/README @@ -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 diff --git a/development/mysql-workbench/mysql-workbench.SlackBuild b/development/mysql-workbench/mysql-workbench.SlackBuild index e28e8db0fd14f..d9e6c72add021 100644 --- a/development/mysql-workbench/mysql-workbench.SlackBuild +++ b/development/mysql-workbench/mysql-workbench.SlackBuild @@ -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 |