summaryrefslogtreecommitdiff
path: root/comms/uhd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/uhd/Makefile')
-rw-r--r--comms/uhd/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/comms/uhd/Makefile b/comms/uhd/Makefile
index 6605545a4908..3c143330db7e 100644
--- a/comms/uhd/Makefile
+++ b/comms/uhd/Makefile
@@ -1,7 +1,7 @@
PORTNAME= uhd
DISTVERSIONPREFIX= v
-DISTVERSION= 4.8.0.0
-PORTREVISION= 2
+DISTVERSION= 4.9.0.1
+#PORTREVISION= 1
CATEGORIES= comms hamradio
DIST_SUBDIR= ${PORTNAME}
@@ -18,7 +18,7 @@ LICENSE= GPLv3
LIB_DEPENDS= ${PY_BOOST} \
libboost_thread.so:devel/boost-libs
-BUILD_DEPENDS= flatc:devel/flatbuffers \
+BUILD_DEPENDS= \
orcc:devel/orc \
cheetah-analyze:devel/py-cheetah3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
@@ -49,7 +49,7 @@ SHEBANG_GLOB= *.py *.py.in *_bist usrp_update*
CMAKE_ARGS+= -DPKG_LIB_DIR:STRING="share/uhd" -DUHD_TXRX_DEBUG_PRINTS="yes"
# for excruciating debug use this -db
-#CMAKE_ARGS+= --debug-output --trace
+CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${WRKSRC}/host/include ${LOCALBASE}/include"
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_DEFAULT= DOCS
@@ -62,15 +62,6 @@ DOXYGEN_CMAKE_OFF= -DENABLE_DOXYGEN:STRING="OFF" \
-DENABLE_MANUAL:STRING="OFF"
DOXYGEN_PORTDOCS= doxygen
-#
-# XXX N.B. uhd compile will fail if the generated flatbuffers
-# files are out of date with current version of flatbuffers.
-# There is likely a better way of doing this, but this works.
-pre-configure:
-.for f in cal_metadata.fbs iq_cal.fbs dsa_cal.fbs pwr_cal.fbs
- (cd ${WRKSRC}/host/include/uhd/cal;flatc --cpp ${f})
-.endfor
-
do-install:
# install host component
# hack the install prefix now