[103010] trunk/base/src/port1.0/portbuild.tcl
raimue at macports.org
raimue at macports.org
Mon Feb 11 15:23:16 PST 2013
Revision: 103010
https://trac.macports.org/changeset/103010
Author: raimue at macports.org
Date: 2013-02-11 15:23:16 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
portbuild: refine automatic dependency on bsdmake
Add the dependency on bsdmake only on Darwin and if build.cmd is bsdmake. This
matches the logic for the option build.cmd in portbuild::build_getmaketype.
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-11 22:45:58 UTC (rev 103009)
+++ trunk/base/src/port1.0/portbuild.tcl 2013-02-11 23:23:16 UTC (rev 103010)
@@ -66,9 +66,9 @@
# ${build.type} == bsd, ensures bsdmake is present by adding a bin:-style
# dependency.
proc portbuild::add_automatic_buildsystem_dependencies {} {
- global build.type
+ global build.type build.cmd os.platform
- if {${build.type} == "bsd"} {
+ if {${build.type} == "bsd" && ${os.platform} == "darwin" && [string match "*bsdmake*" ${build.cmd}]} {
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/e0d38831/attachment.html>
More information about the macports-changes
mailing list