[142488] trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
dstrubbe at macports.org
dstrubbe at macports.org
Sat Dec 12 05:58:14 PST 2015
Revision: 142488
https://trac.macports.org/changeset/142488
Author: dstrubbe at macports.org
Date: 2015-11-12 16:37:27 -0800 (Thu, 12 Nov 2015)
Log Message:
-----------
compilers portgroup: Add debug statements of what we are enforcing C or Fortran for. Fix indentation again from two commits ago. Remove comment that is better explained above in documentation.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl 2015-11-13 00:34:03 UTC (rev 142487)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl 2015-11-13 00:37:27 UTC (rev 142488)
@@ -493,13 +493,13 @@
return 1
}
-# for the c compiler
proc compilers.enforce_c {args} {
global compilers.required_c
lappend compilers.required_c $args
}
proc compilers.action_enforce_c {args} {
+ ui_debug "compilers.enforce_c list: ${args}"
foreach portname $args {
if {![catch {set result [active_variants $portname "" ""]}]} {
set otcomp [c_active_variant_name $portname]
@@ -525,6 +525,8 @@
proc compilers.action_enforce_f {args} {
global compilers.gcc_default
+
+ ui_debug "compilers.enforce_fortran list: ${args}"
foreach portname $args {
if {![catch {set result [active_variants $portname "" ""]}]} {
set otf [fortran_active_variant_name $portname]
@@ -543,10 +545,10 @@
ui_error "Install $portname +$myf"
return -code error "$portname +$myf not installed"
}
- } else {
- ui_error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
- return -code error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
- }
+ } else {
+ ui_error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
+ return -code error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/f237ae6d/attachment-0001.html>
More information about the macports-changes
mailing list