summaryrefslogtreecommitdiff
path: root/ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt')
-rw-r--r--ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt b/ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt
new file mode 100644
index 00000000000..d99941a6926
--- /dev/null
+++ b/ham/gnuradio-core/patches/patch-gr-audio_lib_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-gr-audio_lib_CMakeLists.txt,v 1.1 2014/10/17 09:51:56 mef Exp $
+
+Patch and SUBST to disable/enable ALSA depending on PKGOPTIONS.
+
+--- gr-audio/lib/CMakeLists.txt.orig 2014-08-18 02:53:59.000000000 +0900
++++ gr-audio/lib/CMakeLists.txt 2014-10-14 21:39:56.000000000 +0900
+@@ -44,7 +44,7 @@ endif(ENABLE_GR_CTRLPORT)
+ ########################################################################
+ ## ALSA Support
+ ########################################################################
+-find_package(ALSA)
++@@ALSA@@find_package(ALSA)
+
+ if(ALSA_FOUND)
+