[MacPorts] #15395: Use primary port category for fetched distfile layout
MacPorts
noreply at macports.org
Thu May 22 06:26:23 PDT 2008
#15395: Use primary port category for fetched distfile layout
----------------------------------+-----------------------------------------
Reporter: wsiegrist at apple.com | Owner: wsiegrist at apple.com
Type: enhancement | Status: new
Priority: Normal | Milestone: MacPorts base enhancements
Component: base | Version:
Resolution: | Keywords: fetch mirror distfiles
----------------------------------+-----------------------------------------
Comment (by raimue at macports.org):
First of all, there are other places where this variable is used in
`portclean.tcl` which would also need the new location for proper
cleaning.
We could change the default of dist_subdir to fix it in all locations
without much rewriting. I didn't test it, but I mean something like this:
{{{
default dist_subdir {[lindex categories 0]/${portname}}
}}}
This would still allow to override the default dist_subdir with the fetch
directory of another port by using `dist_subdir category/portname`. The
downside is that we would need to change it in all existing Portfiles
using dist_subdir (I counted 190 ports).
--
Ticket URL: <http://trac.macports.org/ticket/15395#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list