Changeset 28550


Ignore:
Timestamp:
Sep 3, 2007, 1:45:24 PM (12 years ago)
Author:
mww@…
Message:

add configure.macosx_deployment_target option

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/ChangeLog

    r28529 r28550  
    66
    77Unreleased:
     8
     9    - add configure.macosx_deployment_target for configure flags
    810
    911    - add configure.javac/classpath for Java flags
  • trunk/base/doc/portfile.7

    r28529 r28550  
    847847.Sy Type:
    848848.Em optional
     849.It Ic configure.macosx_deployment_target
     850Flags to put in the MACOSX_DEPLOYMENT_TARGET environment variable when invoking the configure script.
     851.br
     852.Sy Type:
     853.Em optional
     854.br
     855.Sy Example:
     856.Dl configure.macosx_deployment_target 10.4
    849857.It Ic configure.cc
    850858C-compiler to put in the CC environment variable when invoking the configure script.
  • trunk/base/src/port1.0/portconfigure.tcl

    r28529 r28550  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath
     56options configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath configure.macosx_deployment_target
    5757# We could have default debug/optimization flags at some point.
    5858default configure.cflags        {-O2}
     
    6464default configure.fcflags       {-O2}
    6565default configure.classpath     {}
     66default configure.macosx_deployment_target      {}
    6667
    6768# Universal options & default values.
     
    119120    global [info globals]
    120121    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    121     global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath
     122    global configure.env configure.cflags configure.cppflags configure.cxxflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath configure.macosx_deployment_target
    122123    global configure.cc configure.cxx configure.cpp configure.f77 configure.f90 configure.fc configure.javac configure.compiler prefix
    123124    global os.platform os.major
     
    241242                append_list_to_environment_value configure "FCFLAGS" ${configure.fcflags}
    242243                append_list_to_environment_value configure "CLASSPATH" ${configure.classpath}
     244                append_list_to_environment_value configure "MACOSX_DEPLOYMENT_TARGET" ${configure.macosx_deployment_target}
    243245
    244246                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.