[57914] users/ryandesign

ryandesign at macports.org ryandesign at macports.org
Fri Sep 18 12:25:07 PDT 2009


Revision: 57914
          http://trac.macports.org/changeset/57914
Author:   ryandesign at macports.org
Date:     2009-09-18 12:25:03 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
minivmac, minivmac-devel: bail during the configuration phase if configuration fails, so the user can try again without needing to clean

Modified Paths:
--------------
    users/ryandesign/minivmac/Portfile
    users/ryandesign/minivmac-devel/Portfile

Modified: users/ryandesign/minivmac/Portfile
===================================================================
--- users/ryandesign/minivmac/Portfile	2009-09-18 19:10:20 UTC (rev 57913)
+++ users/ryandesign/minivmac/Portfile	2009-09-18 19:25:03 UTC (rev 57914)
@@ -197,6 +197,13 @@
     }
     my_detach_disk_image ${my_src_disk_mount}
     reinplace "s|@SUBDIRS@|${my_variation_dirs}|" ${build.dir}/Makefile
+    
+    # If no variation directoriess were produced by configuration, either the flags we
+    # passed in were bad, or the automation script got out of sync with the emulator;
+    # if the latter, the delays in configure.applescript may need to be adjusted.
+    if {"" == ${my_variation_dirs}} {
+        return -code error "configuration failed!"
+    }
 }
 
 set my_share_dir        ${prefix}/share/${my_name}

Modified: users/ryandesign/minivmac-devel/Portfile
===================================================================
--- users/ryandesign/minivmac-devel/Portfile	2009-09-18 19:10:20 UTC (rev 57913)
+++ users/ryandesign/minivmac-devel/Portfile	2009-09-18 19:25:03 UTC (rev 57914)
@@ -223,6 +223,13 @@
     }
     my_detach_disk_image ${my_output_disk_mount}
     reinplace "s|@SUBDIRS@|${my_variation_dirs}|" ${build.dir}/Makefile
+    
+    # If no variation directoriess were produced by configuration, either the flags we
+    # passed in were bad, or the automation script got out of sync with the emulator;
+    # if the latter, the delays in configure.applescript may need to be adjusted.
+    if {"" == ${my_variation_dirs}} {
+        return -code error "configuration failed!"
+    }
 }
 
 set my_share_dir        ${prefix}/share/${my_name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090918/84f348b1/attachment-0001.html>


More information about the macports-changes mailing list