pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/gnuradio-core (ham/gnuradio-core) Fix build proble...
details: https://anonhg.NetBSD.org/pkgsrc/rev/20564723ac3b
branches: trunk
changeset: 402664:20564723ac3b
user: mef <mef%pkgsrc.org@localhost>
date: Mon Oct 14 12:40:27 2019 +0000
description:
(ham/gnuradio-core) Fix build problem on NetBSD, after orc is updated 0.4.29 to 0.4.30, thanks maya@
diffstat:
ham/gnuradio-core/Makefile.common | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 4ce4373c5bba -r 20564723ac3b ham/gnuradio-core/Makefile.common
--- a/ham/gnuradio-core/Makefile.common Mon Oct 14 11:43:19 2019 +0000
+++ b/ham/gnuradio-core/Makefile.common Mon Oct 14 12:40:27 2019 +0000
@@ -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 @@
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_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)
Home |
Main Index |
Thread Index |
Old Index