Changeset 82135
- Timestamp:
- 08/08/11 07:30:17 (4 years ago)
- File:
-
- 1 edited
-
trunk/base/src/package1.0/portdpkg.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/package1.0/portdpkg.tcl
r79593 r82135 54 54 55 55 proc portdpkg::main {args} { 56 global UI_PREFIX destpath os.arch os.platform 56 global UI_PREFIX destpath os.arch os.platform supported_archs configure.build_arch 57 57 58 58 ui_msg "$UI_PREFIX [format [msgcat::mc "Creating dpkg for %s-%s"] [option subport] [option version]]" … … 132 132 # freebsd and openbsd. Use of gnu in this string is reserved for the 133 133 # GNU/Hurd operating system. 134 switch -regex ${ os.arch} {134 switch -regex ${configure.build_arch} { 135 135 i[3-9]86 { set pkg_arch "i386" } 136 x86_64 { set pkg_arch "x86_64" } 136 137 default { set pkg_arch ${os.arch} } 137 138 } … … 141 142 if {${os.platform} != "linux"} { 142 143 set pkg_arch "${os.platform}-${pkg_arch}" 144 } elseif {${pkg_arch} == "x86_64"} { 145 set pkg_arch "amd64" 146 } 147 148 # An architecture-independent package 149 if {$supported_archs == "noarch"} { 150 set pkg_arch "all" 143 151 } 144 152
Note: See TracChangeset
for help on using the changeset viewer.

