Skip to content
Permalink
Browse files

Switch from destroot to destdir.

Reversing the destroot change I proposed earlier. Sorry Kevin

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@1231 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Nov 12, 2002
1 parent 8de099e commit a5dd9d97d10ef6947e2656ee25ac2dc0b74e94b1
Showing with 5 additions and 5 deletions.
  1. +4 −4 src/port1.0/portinstall.tcl
  2. +1 −1 src/port1.0/portmain.tcl
@@ -47,12 +47,12 @@ default build.target.install install
set UI_PREFIX "---> "

proc install_start {args} {
global UI_PREFIX portname build.target.install destroot
global UI_PREFIX portname build.target.install destdir

ui_msg "$UI_PREFIX Installing ${portname} into ${destroot} with target ${build.target.install}"
ui_msg "$UI_PREFIX Installing ${portname} into ${destdir} with target ${build.target.install}"

file mkdir ${destroot}
system "mtree -U -f /etc/ports/prefix.mtree -d -e -p ${destroot} > /dev/null"
file mkdir ${destdir}
system "mtree -U -f /etc/ports/prefix.mtree -d -e -p ${destdir} > /dev/null"
}

proc install_main {args} {
@@ -53,7 +53,7 @@ default distpath {[file join $portdbpath distfiles]}
default workdir work
default workpath {[file join $portpath $workdir]}
default prefix /opt/local
default destroot {${workpath}/destroot}
default destdir {${workpath}/destdir}
default filedir files
default revision 0
default distname {${portname}-${portversion}}

0 comments on commit a5dd9d9

Please sign in to comment.
You can’t perform that action at this time.