[117936] trunk/dports/science/gr-osmosdr/Portfile

michaelld at macports.org michaelld at macports.org
Mon Mar 17 08:00:00 PDT 2014


Revision: 117936
          https://trac.macports.org/changeset/117936
Author:   michaelld at macports.org
Date:     2014-03-17 08:00:00 -0700 (Mon, 17 Mar 2014)
Log Message:
-----------
gr-osmosdr:
+ update to 1e8b45d0 (20140314);
+ enable fcdproplus variant for gnuradio 3.7 API only, not for legacy 3.6 API.

Modified Paths:
--------------
    trunk/dports/science/gr-osmosdr/Portfile

Modified: trunk/dports/science/gr-osmosdr/Portfile
===================================================================
--- trunk/dports/science/gr-osmosdr/Portfile	2014-03-17 14:59:11 UTC (rev 117935)
+++ trunk/dports/science/gr-osmosdr/Portfile	2014-03-17 15:00:00 UTC (rev 117936)
@@ -22,11 +22,11 @@
     long_description    ${description}.  \
         This port is kept up with the gr-osmosdr GIT 'master' branch, which is typically updated weekly to monthly, providing compatibility with GNU Radio release 3.7 API: the gnuradio and gnuradio-devel ports.  ${description_common}
 
-    version             20140310
+    version             20140314
 
     fetch.type          git
     git.url             git://git.osmocom.org/gr-osmosdr
-    git.branch          567fcbdffaa7c7fe8269f44ef59d550adaac695d
+    git.branch          1e8b45d09e026d35ea3d551691be90ceaaab91da
 
     conflicts           gr-osmosdr-legacy
 
@@ -281,17 +281,23 @@
 
 }
 
-variant fcdproplus description "Install ${name} with support for FunCube Dongle Pro+ (fcdproplus)" {
+# fcdproplus works with gnuradio 3.7+ API only; it does not provide a
+# 3.6 API legacy version
 
-    depends_lib-append port:gr-fcdproplus
-    configure.args-append -DENABLE_FCDPP=ON
+if {${subport} eq ${name}} {
 
-}
+    variant fcdproplus description "Install ${name} with support for FunCube Dongle Pro+ (fcdproplus)" {
 
-if {![variant_isset fcdproplus]} {
+        depends_lib-append port:gr-fcdproplus
+        configure.args-append -DENABLE_FCDPP=ON
 
-    configure.args-append -DENABLE_FCDPP=OFF
+    }
 
+    if {![variant_isset fcdproplus]} {
+
+        configure.args-append -DENABLE_FCDPP=OFF
+
+    }
 }
 
 variant rtlsdr description "Install ${name} with support for rtl-sdr" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140317/db0e89e8/attachment.html>


More information about the macports-changes mailing list