[34541] trunk/base/src/port1.0/portmain.tcl

afb at macports.org afb at macports.org
Wed Feb 27 14:05:35 PST 2008


Revision: 34541
          http://trac.macosforge.org/projects/macports/changeset/34541
Author:   afb at macports.org
Date:     2008-02-27 14:05:35 -0800 (Wed, 27 Feb 2008)

Log Message:
-----------
use current Mac OS X major version for MACOSX_DEPLOYMENT_TARGET
- let's glibtool in on what is happening, but might break stuff
  (it'll now use two-level namespace, instead of flat namespace)

Modified Paths:
--------------
    trunk/base/src/port1.0/portmain.tcl

Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl	2008-02-27 22:04:44 UTC (rev 34540)
+++ trunk/base/src/port1.0/portmain.tcl	2008-02-27 22:05:35 UTC (rev 34541)
@@ -74,8 +74,6 @@
 default install.user {${portutil::autoconf::install_user}}
 default install.group {${portutil::autoconf::install_group}}
 
-default macosx_deployment_target {}
-
 # Compatibility namespace
 default portname {$name}
 default portversion {$version}
@@ -103,6 +101,8 @@
     set macosx_version [expr 10.0 + ($os_major - 4) / 10.0]
 }
 
+default macosx_deployment_target {$macosx_version}
+
 # Select implicit variants
 if {[info exists os.platform] && ![info exists variations(${os.platform})]} { variant_set ${os.platform}}
 if {[info exists os.arch] && ![info exists variations(${os.arch})]} { variant_set ${os.arch} }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080227/5ef1290c/attachment.html 


More information about the macports-changes mailing list