diff options
-rw-r--r-- | audio/clam_annotator/clam_annotator.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/clam_annotator/clam_annotator.SlackBuild b/audio/clam_annotator/clam_annotator.SlackBuild index bc1ca8a6e4..e0d3ac0773 100644 --- a/audio/clam_annotator/clam_annotator.SlackBuild +++ b/audio/clam_annotator/clam_annotator.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=clam_annotator VERSION=${VERSION:-0.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=Annotator @@ -63,15 +63,19 @@ find . \ export QTDIR=$QT4DIR cd vmqt -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CCFLAGS="$SLKCFLAGS" \ +CPPLAGS="$SLKCFLAGS" \ scons clam_prefix=/usr prefix=/usr cd - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# This is needed to fix underlinkg +echo "env.Append(LINKFLAGS=['-lGL'])" >> SConstruct + +CCFLAGS="$SLKCFLAGS" \ +CPPFLAGS="$SLKCFLAGS" \ scons \ prefix=/usr \ + release=yes \ clam_prefix=/usr scons install prefix=$PKG/usr |