[137380] trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
dstrubbe at macports.org
dstrubbe at macports.org
Wed Jun 10 14:56:45 PDT 2015
Revision: 137380
https://trac.macports.org/changeset/137380
Author: dstrubbe at macports.org
Date: 2015-06-10 14:56:45 -0700 (Wed, 10 Jun 2015)
Log Message:
-----------
compilers portgroup: Make it possible to have multiple calls to compilers.enforce_c and compilers.enforce_fortran in a Portfile. Previously, they would overwrite one another, so only the last one had an effect.
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-06-10 20:52:57 UTC (rev 137379)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl 2015-06-10 21:56:45 UTC (rev 137380)
@@ -432,7 +432,7 @@
# for the c compiler
proc compilers.enforce_c {args} {
global compilers.required_c
- set compilers.required_c $args
+ lappend compilers.required_c $args
}
proc compilers.action_enforce_c {args} {
@@ -453,7 +453,7 @@
proc compilers.enforce_fortran {args} {
global compilers.required_f
- set compilers.required_f $args
+ lappend compilers.required_f $args
}
proc compilers.action_enforce_f {args} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150610/115f7fbe/attachment.html>
More information about the macports-changes
mailing list