#349 closed enhancement (fixed)
RFE: a tcl primitive to populate destdir
Reported by: | michaelm@… | Owned by: | kvv@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
A fair number of ports don't populate desdir before trying to install, and fal over if you don't do it for them, as such many ports have a lot of install lines making the directories I propose a tcl primitive that takes a list and makes directories )named as specified in the list) in /destroot/prefix/
use something like
make-dir bin man lib
Change History (1)
comment:1 Changed 22 years ago by kevin@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
We now automatically populate the destroot with the following sequence: mtree -f macosx.mtree (which provides /Library, /Applications, etc.) mkdir -p ${prefix} cd ${prefix} && mtree -f prefix.mtree (which provides bin/, sbin/, man/, etc.)
After the port is done instaling, any empty directories in the destroot are pruned. The mtree files can be found in base/doc/.