freebsd-ports/comms/gnuradio/files/patch-grc_CMakeLists.txt
Diane Bruce 618e88079c - Update to later version of gnuradio
- fix build with portaudio
- clang builtin's are conflicting with gnuradio so use USE_GCC for now
2015-07-26 23:00:18 +00:00

24 lines
534 B
Text

--- grc/CMakeLists.txt.orig 2015-05-12 09:39:44 UTC
+++ grc/CMakeLists.txt
@@ -87,11 +87,21 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/grc.conf
@ONLY)
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/grc.conf
+ DESTINATION ${GR_PREFSDIR}
+ RENAME "grc.conf.sample"
+ COMPONENT "grc"
+ )
+
+elseif()
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/grc.conf
DESTINATION ${GR_PREFSDIR}
COMPONENT "grc"
)
+endif()
GR_PYTHON_INSTALL(
FILES __init__.py