[140594] trunk/dports/science/gnuradio/Portfile

michaelld at macports.org michaelld at macports.org
Fri Sep 25 12:01:08 PDT 2015


Revision: 140594
          https://trac.macports.org/changeset/140594
Author:   michaelld at macports.org
Date:     2015-09-25 12:01:08 -0700 (Fri, 25 Sep 2015)
Log Message:
-----------
gnuradio*: release can use either the volk or volk-devel port, while devel and next need to use the volk-devel port.

Modified Paths:
--------------
    trunk/dports/science/gnuradio/Portfile

Modified: trunk/dports/science/gnuradio/Portfile
===================================================================
--- trunk/dports/science/gnuradio/Portfile	2015-09-25 18:14:39 UTC (rev 140593)
+++ trunk/dports/science/gnuradio/Portfile	2015-09-25 19:01:08 UTC (rev 140594)
@@ -154,8 +154,18 @@
     }
 } else {
 
-    depends_lib-append path:lib/libvolk.dylib:volk
+    if {${subport} eq "gnuradio"} {
 
+        # release can use either the Volk release or devel port
+        depends_lib-append path:lib/libvolk.dylib:volk
+
+    } else {
+
+        # devel and next need to use the volk-devel port
+        depends_lib-append port:volk-devel
+
+    }
+
     configure.args-append \
         -DENABLE_INTERNAL_VOLK=OFF
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150925/9e0277c7/attachment.html>


More information about the macports-changes mailing list