[93341] trunk/dports/devel/boost/Portfile

jmr at macports.org jmr at macports.org
Sun May 20 10:10:26 PDT 2012


Revision: 93341
          https://trac.macports.org/changeset/93341
Author:   jmr at macports.org
Date:     2012-05-20 10:10:24 -0700 (Sun, 20 May 2012)
Log Message:
-----------
boost: don't fail to parse because of unknown build_arch

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2012-05-20 16:59:24 UTC (rev 93340)
+++ trunk/dports/devel/boost/Portfile	2012-05-20 17:10:24 UTC (rev 93341)
@@ -251,7 +251,9 @@
         if {[lsearch ${build_arch} *86*] != -1} {
             build.args-append   architecture=x86
         } else {
-            error "Current value of 'build_arch' is not supported."
+            pre-fetch {
+                error "Current value of 'build_arch' is not supported."
+            }
         }
     }
     if {[lsearch ${build_arch} *64] != -1} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120520/ce30b93e/attachment.html>


More information about the macports-changes mailing list