Skip to content

Commit

Permalink
Fix os.platform set by portindex -p
Browse files Browse the repository at this point in the history
Reverts part of 16d48a9.
  • Loading branch information
jmroot committed Jun 8, 2018
1 parent fd5d30e commit e45ab90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port/portindex.tcl
Expand Up @@ -229,11 +229,11 @@ for {set i 0} {$i < $argc} {incr i} {
}
set os_arch [lindex $platlist 2]
}
lappend port_options os.platform $os_platform os.major $os_major os.arch $os_arch
if {$os_platform eq "macosx"} {
lappend port_options os.subplatform $os_platform os.universal_supported yes cxx_stdlib $cxx_stdlib
set os_platform darwin
}
lappend port_options os.platform $os_platform os.major $os_major os.arch $os_arch
} elseif {$arg eq "-f"} { # Completely rebuild index
set full_reindex 1
} elseif {$arg eq "-e"} { # Non-zero exit code on errors
Expand Down

0 comments on commit e45ab90

Please sign in to comment.