From 04ccb9625f8ea71ae3175919f7fa5a0bd5335d10 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 27 Nov 2015 02:28:10 -0500 Subject: audio/clam_voice2midi: Fix compile issue. --- audio/clam_voice2midi/clam_voice2midi.SlackBuild | 4 +++- audio/clam_voice2midi/fix_undelinking.patch | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'audio') diff --git a/audio/clam_voice2midi/clam_voice2midi.SlackBuild b/audio/clam_voice2midi/clam_voice2midi.SlackBuild index 752826ae60ba..c4b91051bef6 100644 --- a/audio/clam_voice2midi/clam_voice2midi.SlackBuild +++ b/audio/clam_voice2midi/clam_voice2midi.SlackBuild @@ -4,6 +4,8 @@ # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + PRGNAM=clam_voice2midi VERSION=${VERSION:-0.3.10} BUILD=${BUILD:-2} @@ -67,7 +69,7 @@ patch -p1 < $CWD/fix_undelinking.patch CCFLAGS="$SLKCFLAGS" \ CPPFLAGS="$SLKCFLAGS" \ - scons \ + scons $MAKEFLAGS \ prefix=/usr \ release=yes \ clam_prefix=/usr diff --git a/audio/clam_voice2midi/fix_undelinking.patch b/audio/clam_voice2midi/fix_undelinking.patch index 3818e0074ee3..b84fb1e9d4ec 100644 --- a/audio/clam_voice2midi/fix_undelinking.patch +++ b/audio/clam_voice2midi/fix_undelinking.patch @@ -6,7 +6,7 @@ diff -Naur Voice2MIDI-0.3.10.orig/SConstruct Voice2MIDI-0.3.10/SConstruct if sys.platform == 'darwin' : extralinkFlags=['-dynamic','-bind_at_load'] +if sys.platform == 'linux2' : -+ extralinkFlags=['-lGL'] ++ extralinkFlags=['-lGL', '-lpthread'] programs = [] for main in mainSources.items() : -- cgit v1.2.3