From 94130fb428f850dab40f2e77c35efa5ca7fb4344 Mon Sep 17 00:00:00 2001 From: Ganael LAPLANCHE Date: Fri, 9 Sep 2016 10:12:00 +0000 Subject: [PATCH] Add Hackrf support Submitted by: ash --- comms/gr-osmosdr/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/comms/gr-osmosdr/Makefile b/comms/gr-osmosdr/Makefile index 032299fecdcf..d57796caca67 100644 --- a/comms/gr-osmosdr/Makefile +++ b/comms/gr-osmosdr/Makefile @@ -2,7 +2,7 @@ PORTNAME= gr-osmosdr PORTVERSION= 20150716 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ LOCAL/martymac @@ -29,10 +29,13 @@ CMAKE_ARGS+= -DENABLE_DEFAULT:BOOL=OFF \ -DENABLE_FILE:BOOL=ON \ -DENABLE_PYTHON=ON -OPTIONS_DEFINE= RTLSDR +OPTIONS_DEFINE= RTLSDR HACKRF RTLSDR_DESC= Enable rtl-sdr (RTL2832) support OPTIONS_DEFAULT= RTLSDR RTLSDR_LIB_DEPENDS= librtlsdr.so:comms/rtl-sdr RTLSDR_CMAKE_ON= -DENABLE_RTL:BOOL=ON -DENABLE_RTL_TCP:BOOL=ON +HACKRF_DESC= Enable hackrf one hardware support +HACKRF_LIB_DEPENDS= libhackrf.so:comms/hackrf +HACKRF_CMAKE_ON= -DENABLE_HACKRF:BOOL=ON .include