summaryrefslogtreecommitdiff
path: root/audio/clam_voice2midi/clam_voice2midi.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-16 10:51:03 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:41 -0400
commit1dc9f695929cd53608e2ef54ec867b19fdf74f28 (patch)
treefd0c8a7ebfec11547f64a9aaa6c9f475ad2d60ad /audio/clam_voice2midi/clam_voice2midi.SlackBuild
parent5958c5006350be7f98ad0f07ab1eb92998e5c613 (diff)
downloadslackbuilds-1dc9f695929cd53608e2ef54ec867b19fdf74f28.tar.gz
audio/clam_voice2midi: Added a patch to fix underlinking.
Exported CFLAGS like required by the scons script Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/clam_voice2midi/clam_voice2midi.SlackBuild')
-rw-r--r--audio/clam_voice2midi/clam_voice2midi.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/clam_voice2midi/clam_voice2midi.SlackBuild b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
index 80ca455c17..126f975b02 100644
--- a/audio/clam_voice2midi/clam_voice2midi.SlackBuild
+++ b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=clam_voice2midi
VERSION=${VERSION:-0.3.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=Voice2MIDI
@@ -62,10 +62,14 @@ find . \
# If all else fails, removepkg qt3 and reinstall it afterwards.
export QTDIR=$QT4DIR
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# This is needed to fix underlinkg
+patch -p1 < $CWD/fix_undelinking.patch
+
+CCFLAGS="$SLKCFLAGS" \
+CPPFLAGS="$SLKCFLAGS" \
scons \
prefix=/usr \
+ release=yes \
clam_prefix=/usr
scons install prefix=$PKG/usr