Skip to content

Commit

Permalink
gr-osmosdr: allow for hackrf release or devel; rev bump just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelld committed Feb 23, 2017
1 parent b566db2 commit 3cdff10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions science/gr-osmosdr/Portfile
Expand Up @@ -17,7 +17,7 @@ platforms darwin macosx

set commit 2a2236cc9e97581e59cfc8018bd03d90659e6acc
version 20170202
revision 1
revision 2
distname ${name}-${commit}
checksums ${distname}.tar.gz \
rmd160 0a8a219be1169973a021e79a4c4a10768763835a \
Expand Down Expand Up @@ -156,7 +156,8 @@ if {![variant_isset swig]} {

variant hackrf description "Install ${name} with support for hackrf" {

depends_lib-append port:hackrf
# allow for release or devel
depends_lib-append path:lib/libhackrf.dylib:hackrf
configure.args-append -DENABLE_HACKRF=ON

}
Expand Down Expand Up @@ -221,7 +222,7 @@ if {![variant_isset airspy]} {

variant soapysdr description "Install ${name} with support for SoapySDR" {

depends_lib-append port:soapysdr
depends_lib-append port:SoapySDR
configure.args-append -DENABLE_SOAPY=ON

}
Expand Down

0 comments on commit 3cdff10

Please sign in to comment.