macports-dev Digest, Vol 61, Issue 8

Guido guido.soranzio at gmail.com
Tue Sep 6 05:07:49 PDT 2011


On Sep 6, 2011, at 10:10 AM, macports-dev-request at lists.macosforge.org wrote:

> So while it's admirable that your app supports multiple package managers, you may be setting your users up to fail unless you make it very clear to them that they should use software from a single package manager only.

I think it will suffice offering an option to hide the paths from
the other package managers before the compilation phase, in order
to avoid the configure script to pick up the wrong commands and
libraries.

In the second of the following screenshots

http://sites.google.com/site/macosguigna/_/rsrc/1314793010688/home/guigna_screenshot_2.png
http://sites.google.com/site/macosguigna/_/rsrc/1315309647395/home/screenshot_mvopt.png

I wrapped the installation command with
 
install_cmd = "sudo mv /opt/local /opt/local_off ; " + install_cmd + " ; sudo mv /opt/local_off /opt/local"

and Homebrew doesn't emit its warning.


-- 
Guido


More information about the macports-dev mailing list