Changeset 30781 for trunk/base


Ignore:
Timestamp:
Nov 6, 2007, 11:37:54 PM (12 years ago)
Author:
afb@…
Message:

pass package.flat option on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/package1.0/portmpkg.tcl

    r30778 r30781  
    4040
    4141# define options
    42 options package.destpath
     42options package.destpath package.flat
    4343
    4444set_ui_prefix
    4545
    4646proc mpkg_main {args} {
    47     global portname portversion portrevision package.destpath UI_PREFIX
     47    global portname portversion portrevision package.destpath package.flat UI_PREFIX
    4848
    4949    # Make sure the destination path exists.
     
    8888
    8989proc make_one_package {portname portversion destination} {
    90         global prefix package.destpath
     90        global prefix package.destpath package.flat
    9191        if {[catch {set res [mport_search "^$portname\$"]} result]} {
    9292                global errorInfo
     
    101101                        # only the prefix gets passed to the worker.
    102102                        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]
    104104                        mport_exec $worker pkg
    105105                        mport_close $worker
     
    110110
    111111proc package_mpkg {portname portversion portrevision} {
    112     global portdbpath destpath workpath prefix portresourcepath description package.destpath long_description homepage depends_run depends_lib
     112    global portdbpath destpath workpath prefix portresourcepath description package.destpath package.flat long_description homepage depends_run depends_lib
    113113
    114114        set pkgpath ${package.destpath}/${portname}-${portversion}.pkg
Note: See TracChangeset for help on using the changeset viewer.