summaryrefslogtreecommitdiff
path: root/audio/sonata/sonata.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:30:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:58 +0700
commit1943ce3a5a02c4af6a431602e0f20e9f07ffe1e7 (patch)
tree03b9008c41b943c67a71fcd47a908a273387c1bf /audio/sonata/sonata.SlackBuild
parentcc4dad41f2537e0413c3b270f0cbc2c97f1a1197 (diff)
downloadslackbuilds-1943ce3a5a02c4af6a431602e0f20e9f07ffe1e7.tar.gz
audio/sonata: Fix REQUIRES for python2. Add -fcommon.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/sonata/sonata.SlackBuild')
-rw-r--r--audio/sonata/sonata.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/sonata/sonata.SlackBuild b/audio/sonata/sonata.SlackBuild
index f410bc9f26..5553257361 100644
--- a/audio/sonata/sonata.SlackBuild
+++ b/audio/sonata/sonata.SlackBuild
@@ -71,7 +71,8 @@ find -L . \
# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html
sed -i "s#lyricwiki.org#lyrics.wikia.org#g" sonata/info.py
-python setup.py install --root=$PKG
+CFLAGS="-fcommon" \
+python2 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man?/*