#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@…): apple-gcc40 is not a valid option for configure.compiler when using C++ What do you propose setting it to? How about: {{ --- 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:1> MacPorts <http://www.macports.org/> Ports system for Mac OS