[Lunar-commits] <moonbase> portaudio: Adding a CONFIGURE to allow enabling of C++ bindings. The side effect

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Dec 29 02:54:11 CET 2011


commit 4999f2ba06dc2a1598eec478a8b866e4b783e63a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Dec 28 20:54:11 2011 -0500

    portaudio: Adding a CONFIGURE to allow enabling of C++ bindings. The side effect
    
    to saying yes requires MAKES=1 (the same as PSAFE=no).
---
 audio/portaudio/BUILD     |    9 +++++++++
 audio/portaudio/CONFIGURE |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/audio/portaudio/BUILD b/audio/portaudio/BUILD
new file mode 100644
index 0000000..2365329
--- /dev/null
+++ b/audio/portaudio/BUILD
@@ -0,0 +1,9 @@
+(
+
+  if [ "$ENABLE_CXX" == "y" ]; then
+     export MAKES=1
+  fi &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/audio/portaudio/CONFIGURE b/audio/portaudio/CONFIGURE
new file mode 100644
index 0000000..6d63575
--- /dev/null
+++ b/audio/portaudio/CONFIGURE
@@ -0,0 +1 @@
+mquery ENABLE_CXX "Enable C++ bindings?" y "--enable-cxx" "--disable-cxx"


More information about the Lunar-commits mailing list