port provides and symlink'd $prefix
Daniel J. Luke
dluke at geeklair.net
Fri May 9 10:06:16 PDT 2014
So, I've got a host where I have a nonstandard $prefix, but have an /opt/local symlink to it so that I can still get binarys from the buildbots.
macports.conf prefix is /opt/local while portdbpath points to the 'real' path. Things work well except that `port provides` fails.
It looks like this falls apart when port does a [file normalize $filename] (in proc action_provides). I'm not sure there's a generic solution to this, but maybe it would be good to not try to normalize $filename if it's an absolute path? That way `port provides /opt/local/bin/foo` would still work for me?
Thoughts?
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
More information about the macports-dev
mailing list