summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2019-10-14 12:40:27 +0000
committermef <mef@pkgsrc.org>2019-10-14 12:40:27 +0000
commit01626c6df0152fb4d40556dedb5aa8b270a7da4e (patch)
tree4b52c7e44994989b089b52e4b334a76293260d57 /ham
parent84c33866f6a67ee28a070d9eb8bb6bd5440f1871 (diff)
downloadpkgsrc-01626c6df0152fb4d40556dedb5aa8b270a7da4e.tar.gz
(ham/gnuradio-core) Fix build problem on NetBSD, after orc is updated 0.4.29 to 0.4.30, thanks maya@
Diffstat (limited to 'ham')
-rw-r--r--ham/gnuradio-core/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/ham/gnuradio-core/Makefile.common b/ham/gnuradio-core/Makefile.common
index b840dc2f763..aac5944a5c5 100644
--- a/ham/gnuradio-core/Makefile.common
+++ b/ham/gnuradio-core/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2019/09/02 13:19:57 adam Exp $
+# $NetBSD: Makefile.common,v 1.20 2019/10/14 12:40:27 mef Exp $
# This Makefile fragment is included in the package Makefiles for
# GNU Radio distributed packages (they all share common configure and build
# settings).
@@ -43,6 +43,8 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
USE_TOOLS= perl gmake cmake pkg-config
USE_CMAKE= yes
+LDFLAGS.NetBSD+= -lrt
+
DEPENDS+= ${PYPKGPREFIX}-cheetah-[0-9]*:../../devel/py-cheetah
DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
@@ -96,7 +98,7 @@ CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH=${PREFIX}/lib:${PREFIX}/lib/portaudio2
CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
CMAKE_ARGS+= -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0
-CMAKE_ARGS+= -DGR_LIBRARY_DIR=${PREFIX}/lib
+CMAKE_ARGS+= -DGR_LIBRARY_DIR=${PREFIX}/lib -lrt
CMAKE_ARGS+= -DGR_PREFSDIR=${PREFIX}/share/gnuradio/examples/
# adhoc setup not to pick non default version (say python3.6)