[45617] branches/release_1_7/base
raimue at macports.org
raimue at macports.org
Sun Jan 18 16:19:53 PST 2009
Revision: 45617
http://trac.macports.org/changeset/45617
Author: raimue at macports.org
Date: 2009-01-18 16:19:52 -0800 (Sun, 18 Jan 2009)
Log Message:
-----------
Merge r45614 and r45615 from trunk to release_1_7
Modified Paths:
--------------
branches/release_1_7/base/ChangeLog
branches/release_1_7/base/src/port1.0/portdestroot.tcl
Modified: branches/release_1_7/base/ChangeLog
===================================================================
--- branches/release_1_7/base/ChangeLog 2009-01-19 00:17:30 UTC (rev 45616)
+++ branches/release_1_7/base/ChangeLog 2009-01-19 00:19:52 UTC (rev 45617)
@@ -5,6 +5,9 @@
Release 1.7.1 (unreleased):
+ - Create ${applications_dir} and ${frameworks_dir} in destroot
+ automatically (r45614, raimue)
+
- Make the postflight procedure a bit smarter about which login files
to update for bash and tcsh (#17588)
Modified: branches/release_1_7/base/src/port1.0/portdestroot.tcl
===================================================================
--- branches/release_1_7/base/src/port1.0/portdestroot.tcl 2009-01-19 00:17:30 UTC (rev 45616)
+++ branches/release_1_7/base/src/port1.0/portdestroot.tcl 2009-01-19 00:19:52 UTC (rev 45617)
@@ -88,6 +88,7 @@
proc destroot_start {args} {
global UI_PREFIX prefix portname porturl destroot os.platform destroot.clean portsharepath
global destroot::oldmask destroot.umask
+ global applications_dir frameworks_dir
ui_msg "$UI_PREFIX [format [msgcat::mc "Staging %s into destroot"] ${portname}]"
@@ -101,6 +102,8 @@
file mkdir "${destroot}"
if { ${os.platform} == "darwin" } {
system "cd \"${destroot}\" && ${mtree} -e -U -f [file join ${portsharepath} install macosx.mtree]"
+ file mkdir "${destroot}/${applications_dir}"
+ file mkdir "${destroot}/${frameworks_dir}"
}
file mkdir "${destroot}/${prefix}"
system "cd \"${destroot}/${prefix}\" && ${mtree} -e -U -f [file join ${portsharepath} install prefix.mtree]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090118/61dcda74/attachment-0001.html>
More information about the macports-changes
mailing list