[103054] users/cal/base-sqlite-portindex/src/port1.0/portbuild.tcl

cal at macports.org cal at macports.org
Tue Feb 12 10:20:31 PST 2013


Revision: 103054
          https://trac.macports.org/changeset/103054
Author:   cal at macports.org
Date:     2013-02-12 10:20:31 -0800 (Tue, 12 Feb 2013)
Log Message:
-----------
merge from trunk

Modified Paths:
--------------
    users/cal/base-sqlite-portindex/src/port1.0/portbuild.tcl

Modified: users/cal/base-sqlite-portindex/src/port1.0/portbuild.tcl
===================================================================
--- users/cal/base-sqlite-portindex/src/port1.0/portbuild.tcl	2013-02-12 18:18:33 UTC (rev 103053)
+++ users/cal/base-sqlite-portindex/src/port1.0/portbuild.tcl	2013-02-12 18:20:31 UTC (rev 103054)
@@ -66,9 +66,7 @@
 # ${build.type} == bsd, ensures bsdmake is present by adding a bin:-style
 # dependency.
 proc portbuild::add_automatic_buildsystem_dependencies {} {
-    global build.type build.cmd os.platform
-
-    if {${build.type} == "bsd" && ${os.platform} == "darwin" && [string match "*bsdmake*" ${build.cmd}]} {
+    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/20130212/16ef25ca/attachment.html>


More information about the macports-changes mailing list