mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
64a1be3275
- Important Bug Fixes and Additions Fixed shutdown in message passing apps Fixed PortAudio detection during configuration Fixed QWT detection during configuration Fixed gr::analog::agc3 volk kernel alignment Fixed/improved support of audio on OSX Improved performance on network-based sources and sinks Fixed pfb_arb_resampler tag propagation Fixed segfault in fast_atan2f Updated codec2 support to latest standard and support all rates New HDLC codec blocks in gr::digital
26 lines
872 B
CMake
26 lines
872 B
CMake
--- cmake/Modules/FindPortaudio.cmake.orig 2014-05-16 18:55:22.000000000 -0400
|
|
+++ cmake/Modules/FindPortaudio.cmake 2014-08-04 21:57:47.000000000 -0400
|
|
@@ -8,6 +8,15 @@
|
|
include(FindPkgConfig)
|
|
pkg_check_modules(PC_PORTAUDIO portaudio-2.0)
|
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
|
+ message("--- Using Portaudio2 for FreeBSD")
|
|
+ set(PORTAUDIO_FOUND_TRUE)
|
|
+ set(PORTAUDIO_INCLUDE_DIRS "/usr/local/include/portaudio2")
|
|
+ set(PORTAUDIO_LIBRARIES "/usr/local/lib/portaudio2/libportaudio.so")
|
|
+ mark_as_advanced(PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES)
|
|
+ INCLUDE(FindPackageHandleStandardArgs)
|
|
+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(PORTAUDIO DEFAULT_MSG PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES)
|
|
+else()
|
|
find_path(PORTAUDIO_INCLUDE_DIRS
|
|
NAMES
|
|
portaudio.h
|
|
@@ -50,3 +59,6 @@
|
|
set(PORTAUDIO_FOUND FALSE)
|
|
endif(PORTAUDIO2_FOUND)
|
|
endif()
|
|
+
|
|
+endif()
|
|
+
|