[96181] trunk/base/src/port/portindex.tcl

jmr at macports.org jmr at macports.org
Thu Aug 2 07:33:15 PDT 2012


Revision: 96181
          https://trac.macports.org/changeset/96181
Author:   jmr at macports.org
Date:     2012-08-02 07:33:15 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
better macosx impersonation for portindex(1)'s -p option

Modified Paths:
--------------
    trunk/base/src/port/portindex.tcl

Modified: trunk/base/src/port/portindex.tcl
===================================================================
--- trunk/base/src/port/portindex.tcl	2012-08-02 14:32:09 UTC (rev 96180)
+++ trunk/base/src/port/portindex.tcl	2012-08-02 14:33:15 UTC (rev 96181)
@@ -187,6 +187,10 @@
                 set os_platform [lindex $platlist 0]
                 set os_major [lindex $platlist 1]
                 set os_arch [lindex $platlist 2]
+                if {$os_platform == "macosx"} {
+                    lappend port_options os.subplatform $os_platform os.universal_supported yes
+                    set os_platform darwin
+                }
                 lappend port_options os.platform $os_platform os.major $os_major os.arch $os_arch
             } elseif {$arg == "-f"} { # Completely rebuild index
                 set full_reindex 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120802/71f0b39c/attachment.html>


More information about the macports-changes mailing list