Changeset 28302 for trunk/base


Ignore:
Timestamp:
Aug 28, 2007, 12:46:39 AM (17 years ago)
Author:
mww@…
Message:

Add more compiler suites for the 'configure.compiler' option

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/ChangeLog

    r27920 r28302  
    66
    77Unreleased:
     8
     9    - Add more compiler suites for the 'configure.compiler' option
    810
    911    - `port variants` behaves like `port info` in that it parses the Portfile for up-to-date info.
  • trunk/base/doc/portfile.7

    r27201 r28302  
    853853.It Ic configure.compiler
    854854Selects a complete compiler suite to use. This option will override the compiler environment variable for all compilers the named suite features. Please note that this option will intentionally not set any dependencies on the selected compiler suite!
     855.Em gcc-3.3
     856.Em gcc-4.0
     857use the standard system compiler suites,
     858.Em apple-gcc-3.3
     859.Em apple-gcc-4.0
     860use Apple's gcc suite installed via MacPorts,
     861.Em macports-gcc-3.3
     862.Em macports-gcc-3.4
     863.Em macports-gcc-4.0
     864.Em macports-gcc-4.1
     865.Em macports-gcc-4.2
     866.Em macports-gcc-4.3
     867use the vanilla gcc installed via MacPorts.
    855868.br
    856869.Sy Type:
     
    858871.br
    859872.Sy Values:
    860 .Em gcc-3.3 gcc-4.0 macports-gcc-4.0 macports-gcc-4.1 macports-gcc-4.2
     873.Em gcc-3.3 gcc-4.0 apple-gcc-3.3 apple-gcc-4.0 macports-gcc-3.3 macports-gcc-3.4 macports-gcc-4.0 macports-gcc-4.1 macports-gcc-4.2 macports-gcc-4.3
    861874.br
    862875.Sy Example:
  • trunk/base/src/port1.0/portconfigure.tcl

    r27053 r28302  
    119119            set configure.cxx "/usr/bin/g++-4.0"
    120120            set configure.cpp "/usr/bin/cpp-4.0" }
     121        apple-gcc-3.3 {
     122            ui_debug "Using Macports Apple gcc 3.3"
     123            set configure.cc "${prefix}/bin/gcc-apple-3.3"
     124            set configure.cpp "${prefix}/bin/cpp-apple-3.3" }
     125        apple-gcc-4.0 {
     126            ui_debug "Using Macports Apple gcc 4.0"
     127            set configure.cc "${prefix}/bin/gcc-apple-4.0"
     128            set configure.cpp "${prefix}/bin/cpp-apple-4.0" }
     129        macports-gcc-3.3 {
     130            ui_debug "Using MacPorts gcc 3.3"
     131            set configure.cc "${prefix}/bin/gcc-mp-3.3"
     132            set configure.cxx "${prefix}/bin/g++-mp-3.3"
     133            set configure.cpp "${prefix}/bin/cpp-mp-3.3" }
     134        macports-gcc-3.4 {
     135            ui_debug "Using MacPorts gcc 3.4"
     136            set configure.cc "${prefix}/bin/gcc-mp-3.4"
     137            set configure.cxx "${prefix}/bin/g++-mp-3.4"
     138            set configure.cpp "${prefix}/bin/cpp-mp-3.4" }
    121139        macports-gcc-4.0 {
    122140            ui_debug "Using MacPorts gcc 4.0"
Note: See TracChangeset for help on using the changeset viewer.