diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-16 09:59:15 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:44:41 -0400 |
commit | 0b2db7a682d95e273d0789382d48528ca8e8df47 (patch) | |
tree | a4adadd4f5496fdb0de20052de61bf657e8e00b9 | |
parent | 1dc9f695929cd53608e2ef54ec867b19fdf74f28 (diff) | |
download | slackbuilds-0b2db7a682d95e273d0789382d48528ca8e8df47.tar.gz |
audio/clam_annotator: Fixed underlinking.
Exported CFLAGS like required by the scons script
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 |