diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile index 6cf01647735c..25c1cdc004c9 100644 --- a/comms/gnuradio/Makefile +++ b/comms/gnuradio/Makefile @@ -2,7 +2,7 @@ PORTNAME= gnuradio PORTVERSION= 3.7.9.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms astro hamradio MASTER_SITES= http://gnuradio.org/releases/gnuradio/ \ LOCAL/db @@ -47,6 +47,7 @@ CMAKE_ARGS+= -DSWIG_EXECUTABLE:STRING="${LOCALBASE}/bin/swig2.0"\ -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \ -DICONV_LIB:STRING="X${ICONV_LIB}" \ -DENABLE_GR_CTRLPORT="YES" \ + -DLOCALBASE:STRING="${LOCALBASE}" \ -DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE}/lib/gcc${_GCC_VER}" # for detailed debugging uncomment the next line #CMAKE_ARGS+= --debug-output --trace @@ -76,7 +77,7 @@ TESTING_DESC= Include testing support PLIST_SUB+= PORTVERSION=${PORTVERSION} DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ - ${LOCALBASE}/bin/sphinx-apidoc:textproc/py-sphinx \ + sphinx-apidoc:textproc/py-sphinx \ dot:graphics/graphviz \ xmlto:textproc/xmlto \ freefont-ttf>0:x11-fonts/freefont-ttf diff --git a/comms/gnuradio/files/patch-CMakeLists.txt b/comms/gnuradio/files/patch-CMakeLists.txt index b5814c6592a9..013592563846 100644 --- a/comms/gnuradio/files/patch-CMakeLists.txt +++ b/comms/gnuradio/files/patch-CMakeLists.txt @@ -12,6 +12,15 @@ #make sure our local CMake Modules path comes first list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) +@@ -53,7 +58,7 @@ include(GrVersion) #setup version info + # Append -O2 optimization flag for Debug builds + SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O2") + SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O2") +- ++link_directories("/usr/lib" "${LOCALBASE}/lib") + ######################################################################## + # Environment setup + ######################################################################## @@ -144,6 +149,14 @@ string(REPLACE "\n" " \\n" COMPILER_INFO ######################################################################## include(GrPlatform) #define LIB_SUFFIX diff --git a/comms/gnuradio/files/patch-grc_scripts_gnuradio-companion b/comms/gnuradio/files/patch-grc_scripts_gnuradio-companion index 6d4e74293a8b..91070d67edf4 100644 --- a/comms/gnuradio/files/patch-grc_scripts_gnuradio-companion +++ b/comms/gnuradio/files/patch-grc_scripts_gnuradio-companion @@ -1,4 +1,4 @@ ---- grc/scripts/gnuradio-companion.orig 2016-10-02 20:26:15 UTC +--- grc/scripts/gnuradio-companion.orig 2015-12-27 18:10:58 UTC +++ grc/scripts/gnuradio-companion @@ -23,6 +23,9 @@ import sys import optparse diff --git a/comms/gnuradio/files/patch-volk_CMakeLists.txt b/comms/gnuradio/files/patch-volk_CMakeLists.txt index a3ecb96ba763..99f4b702ecd0 100644 --- a/comms/gnuradio/files/patch-volk_CMakeLists.txt +++ b/comms/gnuradio/files/patch-volk_CMakeLists.txt @@ -1,6 +1,6 @@ ---- volk/CMakeLists.txt.orig 2016-10-08 18:42:16.000000000 -0400 -+++ volk/CMakeLists.txt 2016-10-08 18:45:51.000000000 -0400 -@@ -139,7 +139,7 @@ +--- volk/CMakeLists.txt.orig 2016-04-08 03:47:02 UTC ++++ volk/CMakeLists.txt +@@ -139,7 +139,7 @@ configure_file( install( FILES ${CMAKE_CURRENT_BINARY_DIR}/volk.pc diff --git a/comms/gnuradio/pkg-plist b/comms/gnuradio/pkg-plist index 3bbbe5c315fb..b12433bc7f0a 100644 --- a/comms/gnuradio/pkg-plist +++ b/comms/gnuradio/pkg-plist @@ -1228,6 +1228,18 @@ lib/libgnuradio-wxgui.so.%%MAJOR_SUB_VER%% lib/libgnuradio-wxgui.so.%%MAJOR_VERSION%% lib/libvolk.so lib/libvolk.so.1.2.2 +%%PORTDOCS%%%%DOCSDIR%%/README.analog +%%PORTDOCS%%%%DOCSDIR%%/README.blocks +%%PORTDOCS%%%%DOCSDIR%%/README.channels +%%PORTDOCS%%%%DOCSDIR%%/README.dtv +%%PORTDOCS%%%%DOCSDIR%%/README.fec +%%PORTDOCS%%%%DOCSDIR%%/README.fft +%%PORTDOCS%%%%DOCSDIR%%/README.filter +%%PORTDOCS%%%%DOCSDIR%%/README.qtgui +%%PORTDOCS%%%%DOCSDIR%%/README.uhd +%%PORTDOCS%%%%DOCSDIR%%/README.vocoder +%%PORTDOCS%%%%DOCSDIR%%/xml/test_tcm.py.xml +%%PORTDOCS%%%%DOCSDIR%%/xml/test_viterbi_equalization1.py.xml %%PYTHON_SITELIBDIR%%/gnuradio/__init__.py %%PYTHON_SITELIBDIR%%/gnuradio/__init__.pyc %%PYTHON_SITELIBDIR%%/gnuradio/__init__.pyo