[38556] trunk/base/src/port1.0/portbuild.tcl

ryandesign at macports.org ryandesign at macports.org
Thu Jul 24 23:58:30 PDT 2008


Revision: 38556
          http://trac.macosforge.org/projects/macports/changeset/38556
Author:   ryandesign at macports.org
Date:     2008-07-24 23:58:30 -0700 (Thu, 24 Jul 2008)
Log Message:
-----------
portbuild.tcl: allow parallel builds for scons too, not just for make

Modified Paths:
--------------
    trunk/base/src/port1.0/portbuild.tcl

Modified: trunk/base/src/port1.0/portbuild.tcl
===================================================================
--- trunk/base/src/port1.0/portbuild.tcl	2008-07-25 06:51:38 UTC (rev 38555)
+++ trunk/base/src/port1.0/portbuild.tcl	2008-07-25 06:58:30 UTC (rev 38556)
@@ -118,7 +118,7 @@
     }
     ui_debug "port allows a parallel build"
 
-    if {![exists build.jobs] || ![string match "*make*" [option build.cmd]]} {
+    if {![exists build.jobs] || !([string match "*make*" [option build.cmd]] || [string match "*scons*" [option build.cmd]])} {
         return ""
     }
     set jobs [option build.jobs]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080724/3def69e9/attachment-0001.html 


More information about the macports-changes mailing list