[66528] trunk/dports/_resources/port1.0/group

ryandesign at macports.org ryandesign at macports.org
Fri Apr 16 02:16:09 PDT 2010


Revision: 66528
          http://trac.macports.org/changeset/66528
Author:   ryandesign at macports.org
Date:     2010-04-16 02:16:03 -0700 (Fri, 16 Apr 2010)
Log Message:
-----------
python26, python27, python31 portgroups: fix existing-file detection issue when python.link_binaries_suffix is not the default value

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/python26-1.0.tcl
    trunk/dports/_resources/port1.0/group/python27-1.0.tcl
    trunk/dports/_resources/port1.0/group/python31-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/python26-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2010-04-16 08:55:33 UTC (rev 66527)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2010-04-16 09:16:03 UTC (rev 66528)
@@ -65,7 +65,7 @@
 post-destroot {
     if {${python.link_binaries}} {
         foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
-            if {[catch {file type "${destroot}${prefix}/bin/${bin}-${python.branch}"}]} {
+            if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} {
                 ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
             }
         }

Modified: trunk/dports/_resources/port1.0/group/python27-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python27-1.0.tcl	2010-04-16 08:55:33 UTC (rev 66527)
+++ trunk/dports/_resources/port1.0/group/python27-1.0.tcl	2010-04-16 09:16:03 UTC (rev 66528)
@@ -65,7 +65,7 @@
 post-destroot {
     if {${python.link_binaries}} {
         foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
-            if {[catch {file type "${destroot}${prefix}/bin/${bin}-${python.branch}"}]} {
+            if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} {
                 ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
             }
         }

Modified: trunk/dports/_resources/port1.0/group/python31-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python31-1.0.tcl	2010-04-16 08:55:33 UTC (rev 66527)
+++ trunk/dports/_resources/port1.0/group/python31-1.0.tcl	2010-04-16 09:16:03 UTC (rev 66528)
@@ -64,7 +64,7 @@
 post-destroot {
     if {${python.link_binaries}} {
         foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
-            if {[catch {file type "${destroot}${prefix}/bin/${bin}-${python.branch}"}]} {
+            if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} {
                 ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100416/cec9a12e/attachment.html>


More information about the macports-changes mailing list