Revision
110486
Author
jmr@macports.org
Date
2013-08-31 10:19:13 -0700 (Sat, 31 Aug 2013)

Log Message

FScript: nested pre-fetch blocks don't work

Modified Paths

Diff

Modified: trunk/dports/aqua/FScript/Portfile (110485 => 110486)


--- trunk/dports/aqua/FScript/Portfile	2013-08-31 17:07:12 UTC (rev 110485)
+++ trunk/dports/aqua/FScript/Portfile	2013-08-31 17:19:13 UTC (rev 110486)
@@ -55,14 +55,12 @@
 compiler.blacklist {clang < 300}
 
 platform darwin 11 {
-    pre-fetch {
-        if {! [file exists ${configure.sdkroot}]} {
-            depends_lib
-            depends_run
-            pre-fetch {
-                ui_error "$name requires the 10.6 SDK to install on Lion."
-                error "unsupported platform"
-            }
+    if {! [file exists ${configure.sdkroot}]} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name requires the 10.6 SDK to install on Lion."
+            error "unsupported platform"
         }
     }
 }