[90312] trunk/dports/graphics/wxWidgets/Portfile

jwa at macports.org jwa at macports.org
Thu Mar 1 11:02:55 PST 2012


Revision: 90312
          http://trac.macports.org/changeset/90312
Author:   jwa at macports.org
Date:     2012-03-01 11:02:55 -0800 (Thu, 01 Mar 2012)
Log Message:
-----------
modernise checksums, fix 4.3 SDK location

Modified Paths:
--------------
    trunk/dports/graphics/wxWidgets/Portfile

Modified: trunk/dports/graphics/wxWidgets/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets/Portfile	2012-03-01 18:37:57 UTC (rev 90311)
+++ trunk/dports/graphics/wxWidgets/Portfile	2012-03-01 19:02:55 UTC (rev 90312)
@@ -31,9 +31,8 @@
 distfiles       ${distname}-${version}${extract.suffix}
 dist_subdir     ${distname}/${version}
 
-checksums       md5     4103e37e277abeb8aee607b990c215c4 \
-                sha1    c1a3c25de3ab43e2d722c2b7c4048e999c57ef21 \
-                rmd160  928e221abe1a00cd2d72d2a4fd3640ba639b9915
+checksums           rmd160  928e221abe1a00cd2d72d2a4fd3640ba639b9915 \
+                    sha256  3b0ac1d2d017683851841501c8e1b744b97242d684a1668ded61809b0504f707
 
 depends_lib     port:jpeg \
                 port:tiff \
@@ -94,13 +93,13 @@
 
 platform darwin 11 {
     configure.args-append \
-        --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk \
         --with-macosx-version-min=10.6
-    if {$xcodeversion == "4.3"} {
-        configure.args-delete \
-            --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk
+    if {[vercmp $xcodeversion 4.3] >= 0} {
         configure.args-append \
-            --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
+            --with-macosx-sdk=${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
+    } else {
+        configure.args-append \
+            --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120301/b27dd906/attachment.html>


More information about the macports-changes mailing list