#31709: configure.compiler apple-gcc40 and apple-gcc42 don't set configure.cxx -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.4 Component: base | Version: 2.0.3 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): Ugg, brace fail... why can't I edit it, sigh... {{{ Index: src/port1.0/portchecksum.tcl =================================================================== --- src/port1.0/portchecksum.tcl (revision 86213) +++ src/port1.0/portchecksum.tcl (working copy) @@ -59,7 +59,7 @@ set checksum_types_count [llength $checksum_types] # types to recommend if none are specified in the portfile -set default_checksum_types {rmd160 sha256} +set default_checksum_types {sha1 rmd160 sha256} # Using global all_dist_files, parse the checksums and store them into the # global array checksums_array. @@ -291,12 +291,12 @@ if {![file isfile $fullpath] && (!$usealtworkpath && [file isfile "${altprefix}${fullpath}"])} { set fullpath "${altprefix}${fullpath}" } - if {![info exists checksums_array($distfile)] || [llength $checksums_array($distfile)] < 1} { + #if {![info exists checksums_array($distfile)] || [llength $checksums_array($distfile)] < 1} { # no checksums specified; output the default set foreach type $default_checksum_types { lappend sums [format "%-8s%s" $type [calc_$type $fullpath]] } - } + #} } ui_info "The correct checksum line may be:" ui_info [format "%-20s%s" "checksums" [join $sums [format " \\\n%-20s" ""]]] Index: src/port1.0/portconfigure.tcl =================================================================== --- src/port1.0/portconfigure.tcl (revision 86213) +++ src/port1.0/portconfigure.tcl (working copy) @@ -377,6 +377,9 @@ objc { set ret /usr/bin/cc } cxx { set ret /usr/bin/c++ } cpp { set ret /usr/bin/cpp } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } gcc { @@ -385,6 +388,9 @@ objc { set ret /usr/bin/gcc } cxx { set ret /usr/bin/g++ } cpp { set ret /usr/bin/cpp } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } gcc-3.3 { @@ -393,6 +399,9 @@ objc { set ret /usr/bin/gcc-3.3 } cxx { set ret /usr/bin/g++-3.3 } cpp { set ret /usr/bin/cpp-3.3 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } gcc-4.0 { @@ -401,6 +410,9 @@ objc { set ret /usr/bin/gcc-4.0 } cxx { set ret /usr/bin/g++-4.0 } cpp { set ret /usr/bin/cpp-4.0 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } gcc-4.2 { @@ -409,6 +421,9 @@ objc { set ret /usr/bin/gcc-4.2 } cxx { set ret /usr/bin/g++-4.2 } cpp { set ret /usr/bin/cpp-4.2 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } llvm-gcc-4.2 { @@ -417,6 +432,9 @@ objc { set ret ${developer_dir}/usr/bin/llvm-gcc-4.2 } cxx { set ret ${developer_dir}/usr/bin/llvm-g++-4.2 } cpp { set ret ${developer_dir}/usr/bin/llvm-cpp-4.2 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } clang { @@ -429,6 +447,9 @@ } else { set ret ${developer_dir}/usr/bin/llvm-g++-4.2 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } } @@ -437,6 +458,10 @@ cc { set ret ${prefix}/bin/gcc-apple-4.0 } objc { set ret ${prefix}/bin/gcc-apple-4.0 } cpp { set ret ${prefix}/bin/cpp-apple-4.0 } + cxx { set ret /usr/bin/false } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } apple-gcc-4.2 { @@ -445,6 +470,9 @@ objc { set ret ${prefix}/bin/gcc-apple-4.2 } cpp { set ret ${prefix}/bin/cpp-apple-4.2 } cxx { set ret ${prefix}/bin/g++-apple-4.2 } + fc { set ret /usr/bin/false } + f77 { set ret /usr/bin/false } + f90 { set ret /usr/bin/false } } } macports-gcc-4.0 { }}} -- Ticket URL: <https://trac.macports.org/ticket/31709#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS