[109221] users/mojca/wxports/graphics/wxWidgets-2.8/Portfile

mojca at macports.org mojca at macports.org
Sat Aug 10 12:02:47 PDT 2013


Revision: 109221
          https://trac.macports.org/changeset/109221
Author:   mojca at macports.org
Date:     2013-08-10 12:02:46 -0700 (Sat, 10 Aug 2013)
Log Message:
-----------
mojca/wxWidgets-2.8: define a variable even if port doesn't work

Modified Paths:
--------------
    users/mojca/wxports/graphics/wxWidgets-2.8/Portfile

Modified: users/mojca/wxports/graphics/wxWidgets-2.8/Portfile
===================================================================
--- users/mojca/wxports/graphics/wxWidgets-2.8/Portfile	2013-08-10 18:52:53 UTC (rev 109220)
+++ users/mojca/wxports/graphics/wxWidgets-2.8/Portfile	2013-08-10 19:02:46 UTC (rev 109221)
@@ -74,6 +74,8 @@
 # build.target
 
 # SDK
+set conf_sdk "no"
+set conf_macosx_version_min "no"
 pre-fetch {
     # 10.8 (or later) -or- 10.7 with Xcode 4.4 (or later)
     if {${os.major} >= 12 || [vercmp $xcodeversion 4.4] >= 0} {
@@ -86,11 +88,11 @@
             } else {
                 set sdks_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs"
             }
-            set sdk "${sdks_dir}/MacOSX10.6.sdk"
-            set macosx_version_min "10.6"
-        } else {
-            set sdk "no"
-            set macosx_version_min "no"
+            set conf_sdk "${sdks_dir}/MacOSX10.6.sdk"
+            set conf_macosx_version_min "10.6"
+    #   } else {
+    #       set conf_sdk "no"
+    #       set conf_macosx_version_min "no"
         }
     }
 }
@@ -109,8 +111,8 @@
                     --enable-unicode \
                     --enable-display \
                     --enable-graphics_ctx \
-                    --with-macosx-sdk=${sdk} \
-                    --with-macosx-version-min=${macosx_version_min} \
+                    --with-macosx-sdk=${conf_sdk} \
+                    --with-macosx-version-min=${conf_macosx_version_min} \
                     --enable-universal_binary
 
 supported_archs     i386 ppc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130810/57cf57ba/attachment.html>


More information about the macports-changes mailing list