Revision: 104855 https://trac.macports.org/changeset/104855 Author: michaelld@macports.org Date: 2013-04-03 18:23:36 -0700 (Wed, 03 Apr 2013) Log Message: ----------- gr-osmosdr: * update to latest; * change gnuradio dependency to allow any gnuradio port; * update active_variants to allow any gnuradio port. Modified Paths: -------------- trunk/dports/science/gr-osmosdr/Portfile Modified: trunk/dports/science/gr-osmosdr/Portfile =================================================================== --- trunk/dports/science/gr-osmosdr/Portfile 2013-04-04 00:57:56 UTC (rev 104854) +++ trunk/dports/science/gr-osmosdr/Portfile 2013-04-04 01:23:36 UTC (rev 104855) @@ -18,17 +18,17 @@ long_description ${description}: \ Support includes GNU Radio source and sink blocks in C++, Python, and GNU Radio Companion (grc). This port also offers a wrapper functionality for the FunCube Dongle, Ettus UHD, and rtl-sdr radios. By using gr-osmosdr source you can take advantage of a common software api in your applications independent of the underlying radio hardware. -version 20130313 +version 20130317 fetch.type git git.url git://git.osmocom.org/gr-osmosdr -git.branch 901dca8135507c0bde0c187ba9226c3d63aabcc6 +git.branch e85c68d9f84f955cbe9f3d4c730561580f6cfcf9 livecheck.url http://cgit.osmocom.org/cgit/gr-osmosdr/ livecheck.version ${git.branch} livecheck.regex id=(\[a-f0-9\]+).>HEAD< -depends_lib-append port:gnuradio \ +depends_lib-append path:lib/libgnuradio-audio.dylib:gnuradio \ port:rtl-sdr # do VPATH build @@ -70,9 +70,9 @@ set chosen_python_suffix ${s} # require gnuradio to also have this variant + require_active_variants \ + path:lib/libgnuradio-audio.dylib:gnuradio ${p} - require_active_variants gnuradio ${p} - # specify the Python dependencies depends_lib-append \ @@ -106,7 +106,7 @@ # shortcut to installing all variants except Python variant full requires docs uhd swig \ - description {Enable all variants except python} {} + description {Enable all variants except +debug and +universal} {} variant docs description "Install ${name} documentation" { @@ -135,7 +135,8 @@ # require gnuradio to also have this variant - require_active_variants gnuradio uhd + require_active_variants \ + path:lib/libgnuradio-audio.dylib:gnuradio uhd configure.args-append \ -DENABLE_UHD=ON \ @@ -164,7 +165,8 @@ # require gnuradio to also have this variant - require_active_variants gnuradio swig + require_active_variants \ + path:lib/libgnuradio-audio.dylib:gnuradio swig configure.args-append \ -DSWIG_EXECUTABLE=${prefix}/bin/swig