how do I find which package has a program I am looking for?
jmr at macports.org
Wed Jul 1 17:48:38 PDT 2009
On 2009-7-2 10:27, Mitchell L Model wrote:
> I just switched machines. I had /opt/local/bin/ls on my other one. I am remaking my ports environment for various reasons. So far I haven't stumbled upon the port containing ls! I've read documentation, tried some things, etc. I'm sure I'm missing something really basic. Would someone please fill me in?
/opt/local/bin/ls would only be provided by the coreutils port with the
+with_default_names variant selected. It's actually a pretty bad idea to
use this variant, because many programs will expect the utilities to
have the BSD behaviour. It can currently also break MacPorts base:
Without that variant, the coreutils will be installed with a 'g' prefix,
e.g. 'ls' becomes 'gls'. If you want to use gls when you type ls in your
shell, it's far safer to set up an alias.
More information about the macports-users