Changeset 30781 for trunk/base
- Timestamp:
- Nov 6, 2007, 11:37:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/package1.0/portmpkg.tcl
r30778 r30781 40 40 41 41 # define options 42 options package.destpath 42 options package.destpath package.flat 43 43 44 44 set_ui_prefix 45 45 46 46 proc mpkg_main {args} { 47 global portname portversion portrevision package.destpath UI_PREFIX47 global portname portversion portrevision package.destpath package.flat UI_PREFIX 48 48 49 49 # Make sure the destination path exists. … … 88 88 89 89 proc make_one_package {portname portversion destination} { 90 global prefix package.destpath 90 global prefix package.destpath package.flat 91 91 if {[catch {set res [mport_search "^$portname\$"]} result]} { 92 92 global errorInfo … … 101 101 # only the prefix gets passed to the worker. 102 102 ui_debug "building dependency package: $portname" 103 set worker [mport_open $portinfo(porturl) [list prefix $prefix package.destpath ${destination} ] {} yes]103 set worker [mport_open $portinfo(porturl) [list prefix $prefix package.destpath ${destination} package.flat ${package.flat}] {} yes] 104 104 mport_exec $worker pkg 105 105 mport_close $worker … … 110 110 111 111 proc package_mpkg {portname portversion portrevision} { 112 global portdbpath destpath workpath prefix portresourcepath description package.destpath long_description homepage depends_run depends_lib112 global portdbpath destpath workpath prefix portresourcepath description package.destpath package.flat long_description homepage depends_run depends_lib 113 113 114 114 set pkgpath ${package.destpath}/${portname}-${portversion}.pkg
Note: See TracChangeset
for help on using the changeset viewer.