[67724] trunk/dports/_resources/port1.0/group/python26-1.0.tcl

jmr at macports.org jmr at macports.org
Sun May 16 18:43:58 PDT 2010


Revision: 67724
          http://trac.macports.org/changeset/67724
Author:   jmr at macports.org
Date:     2010-05-16 18:43:56 -0700 (Sun, 16 May 2010)
Log Message:
-----------
conditional use of ld_archflags

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/python26-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-05-16 21:47:52 UTC (rev 67723)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2010-05-17 01:43:56 UTC (rev 67724)
@@ -64,10 +64,14 @@
             build.env-append CFLAGS="${configure.cc_archflags}" \
                              OBJCFLAGS="${configure.objc_archflags}" \
                              CXXFLAGS="${configure.cxx_archflags}" \
-                             LDFLAGS="${configure.ld_archflags}" \
                              FFLAGS="${configure.f77_archflags}" \
                              F90FLAGS="${configure.f90_archflags}" \
                              FCFLAGS="${configure.fc_archflags}"
+            if {[info exists configure.ld_archflags]} {
+                build.env-append LDFLAGS="${configure.ld_archflags}"
+            } else {
+                build.env-append LDFLAGS="${configure.cc_archflags}"
+            }
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100516/ba9b9bce/attachment.html>


More information about the macports-changes mailing list