summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-11-02 17:25:01 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:41 +0700
commit55fabe8989e0ba57c5623f2fd1344c8a4fafff87 (patch)
treec24e62ba151abd33eb40a22f6332668b614f59b3 /libraries
parentb250662db84b9838a6e09fffe06aef5671b0c9b6 (diff)
downloadslackbuilds-55fabe8989e0ba57c5623f2fd1344c8a4fafff87.tar.gz
libraries/gdl: Fix sandbox violation on current.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gdl/gdl.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/gdl/gdl.SlackBuild b/libraries/gdl/gdl.SlackBuild
index 6ad5f2032c..4969e07df4 100644
--- a/libraries/gdl/gdl.SlackBuild
+++ b/libraries/gdl/gdl.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gdl
VERSION=${VERSION:-3.26.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ 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 {} \;
+# Don't create the __pycache__ directory.
+export PYTHONDONTWRITEBYTECODE=1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \