How do you get the ports directory for a port via a script?

Bradley Giesbrecht pixilla at
Sun Dec 2 09:49:08 PST 2012

On Dec 2, 2012, at 9:14 AM, Jim Graham wrote:

> After just being told (by port install) that I couldn't build ispell
> because the GNU replacement for ispell (which doesn't work like
> ispell...not exactly a direct replacement) aspell was installed, and,
> for some unknown reason, they're incompatible

The incompatibility is like file collisions. It may be possible to reconfigure the ports to remove the file collisions.

Have you tried the ispell variant of aspell?

port variants aspell
sudo port upgrade --enforce-variants aspell +ispell

Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list