Revision: 140594 https://trac.macports.org/changeset/140594 Author: michaelld@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