Changeset 1225 for trunk/base


Ignore:
Timestamp:
Nov 11, 2002, 3:32:01 AM (21 years ago)
Author:
landonf (Landon Fuller)
Message:

Fix the call to mtree at build time

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/Makefile

    r1224 r1225  
    1212        mkdir -p /etc/defaults
    1313        mkdir -p ${ETCDIR}
     14        mkdir -p ${PREFIX}
    1415        mtree -U -f prefix.mtree -d -e -p ${PREFIX} > /dev/null
    1516        @if [ ! -e ${ETCDIR}/ports.conf ]; then \
  • trunk/base/src/port1.0/portinstall.tcl

    r1205 r1225  
    4040
    4141# define options
    42 options build.target.install no_mtree mtree.file
     42options build.target.install
    4343
    4444# Set defaults
    4545default build.target.install install
    46 default mtree.file /etc/ports/prefix.mtree
    4746
    4847set UI_PREFIX "---> "
     
    5554
    5655proc install_main {args} {
    57     global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current no_mtree mtree.file
    58 
    59     # At some point this may popular $destdir instead
    60     if {![tbool no_mtree] && [file exists ${mtree.file}]} {
    61         system "mtree -U -f ${mtree.file} -d -e -p $prefix > /dev/null"
    62     }
     56    global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current
    6357
    6458    set build.target.current ${build.target.install}
Note: See TracChangeset for help on using the changeset viewer.