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

larryv at macports.org larryv at macports.org
Mon Feb 11 23:41:55 PST 2013


Revision: 103028
          https://trac.macports.org/changeset/103028
Author:   larryv at macports.org
Date:     2013-02-11 23:41:55 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
portbuild.tcl: Refine bsdmake auto-dependency further.

Remove check on build.cmd because its default value cannot be determined
if a bsdmake executable is not present; portbuild::build_getmaketype
errors out.

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

Modified: trunk/base/src/port1.0/portbuild.tcl
===================================================================
--- trunk/base/src/port1.0/portbuild.tcl	2013-02-12 07:11:38 UTC (rev 103027)
+++ trunk/base/src/port1.0/portbuild.tcl	2013-02-12 07:41:55 UTC (rev 103028)
@@ -66,9 +66,7 @@
 # ${build.type} == bsd, ensures bsdmake is present by adding a bin:-style
 # dependency.
 proc portbuild::add_automatic_buildsystem_dependencies {} {
-    if {[option build.type] == "bsd" && [option os.platform] == "darwin" &&
-        [string match "*bsdmake*" [option build.cmd]]
-    } then {
+    if {[option build.type] == "bsd" && [option os.platform] == "darwin"} {
         ui_debug "build.type is BSD, adding bin:bsdmake:bsdmake build dependency"
         depends_build-delete bin:bsdmake:bsdmake
         depends_build-append bin:bsdmake:bsdmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130211/c87df27c/attachment.html>


More information about the macports-changes mailing list