[106683] trunk/dports/science/gr-osmosdr

Michael Dickens michaelld at macports.org
Wed Jun 5 05:01:15 PDT 2013


On Tue, Jun 4, 2013, at 10:14 PM, Ryan Schmidt wrote:
> > +    pre-fetch {
> > +        if {[file exists /opt/local/lib/libgnuradio-runtime.dylib]} {

> Doesn't this "/opt/local" need to be "${prefix}"?

Yes; my bad.

> In fact there may be a
> better way to accomplish this, by using the registry_active procedure,
> like the "deactivate hack" does:
> 
> https://trac.macports.org/wiki/PortfileRecipes#deactivatehack

Yes, I think that could work. I'll play with it & see what happens.
Thanks for the suggestion! - MLD


More information about the macports-dev mailing list