Packages ignoring applications_dir

Anders F Björklund afb at macports.org
Fri Sep 9 00:39:59 PDT 2011


Jeremy Lavergne wrote:

>> In my macports.conf I have applications_dir set as
>> /opt/local/Applications/MacPorts, however when installing python27,
>> for example, the app bundles are installed in /Applications/MacPorts.
>> I notice that the port is installed from a package and not built from
>> source but shouldn't the final location honour the configuration
>> options?
> 
> Looks like we need to modify base: if the user has non-standard paths they cannot use the pre-built packages.

Better yet, the applications_dir *should* be relocated to ${prefix}
just like frameworks_dir was (successfully). With a symlink set up:

/Applications/MacPorts -> /opt/local/Applications

MacPorts itself was also relocated from the system Tcl install path
to go live entirely in the ${prefix} instead like a good citizen...

/Library/Tcl/macports1.0 -> /opt/local/share/macports/Tcl/macports1.0

--anders



More information about the macports-dev mailing list