[Lunar-commits] <moonbase> audacity: it compiles better that way.
Florin Braescu
florin at lunar-linux.org
Sat Apr 16 09:08:25 CEST 2011
commit 9b20aa9cd436036a189478b6c84a65bead7c6727
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat Apr 16 11:08:25 2011 +0400
audacity: it compiles better that way.
---
audio/audacity/BUILD | 5 +++++
audio/audacity/CONFIGURE | 9 ---------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/audio/audacity/BUILD b/audio/audacity/BUILD
index c5c1dd9..b7839b3 100644
--- a/audio/audacity/BUILD
+++ b/audio/audacity/BUILD
@@ -2,6 +2,11 @@
unset CPP CXX CC CFLAGS CXXFLAGS CPPFLAGS LDFLAGS &&
OPTS+=" --with-libsndfile=system --with-libresample=no --with-libsamplerate=system --enable-unicode" &&
+
+ if [ -d /proc/asound ]; then
+ OPTS+=" --with-portaudio"
+ fi &&
+
default_build
) > $C_FIFO 2>&1
diff --git a/audio/audacity/CONFIGURE b/audio/audacity/CONFIGURE
deleted file mode 100644
index d6c2b4d..0000000
--- a/audio/audacity/CONFIGURE
+++ /dev/null
@@ -1,9 +0,0 @@
-if ! grep -q CONFIGURED $MODULE_CONFIG; then
-
- if [ -d /proc/asound ]; then
- OPTS="$OPTS --with-portaudio"
- fi
-
- echo 'CONFIGURED="y"' >> $MODULE_CONFIG
- echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG
-fi
More information about the Lunar-commits
mailing list