pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/gnuradio-core



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Oct 14 12:40:27 UTC 2019

Modified Files:
        pkgsrc/ham/gnuradio-core: Makefile.common

Log Message:
(ham/gnuradio-core) Fix build problem on NetBSD, after orc is updated 0.4.29 to 0.4.30, thanks maya@


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/ham/gnuradio-core/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/gnuradio-core/Makefile.common
diff -u pkgsrc/ham/gnuradio-core/Makefile.common:1.19 pkgsrc/ham/gnuradio-core/Makefile.common:1.20
--- pkgsrc/ham/gnuradio-core/Makefile.common:1.19       Mon Sep  2 13:19:57 2019
+++ pkgsrc/ham/gnuradio-core/Makefile.common    Mon Oct 14 12:40:27 2019
@@ -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=${PRE
 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