[128039] trunk/base/src/port1.0/portconfigure.tcl

jmr at macports.org jmr at macports.org
Tue Nov 11 11:08:03 PST 2014


Revision: 128039
          https://trac.macports.org/changeset/128039
Author:   jmr at macports.org
Date:     2014-11-11 11:08:03 -0800 (Tue, 11 Nov 2014)
Log Message:
-----------
remove args from some procs that don't use them

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

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2014-11-11 19:01:10 UTC (rev 128038)
+++ trunk/base/src/port1.0/portconfigure.tcl	2014-11-11 19:08:03 UTC (rev 128039)
@@ -365,7 +365,7 @@
 # Unfortunately there's no consistent way to do this when the compiler
 # doesn't support -arch, because it could be used to link rather than using
 # ld directly. So we punt and let portfiles deal with that case.
-proc portconfigure::configure_get_ld_archflags {args} {
+proc portconfigure::configure_get_ld_archflags {} {
     global configure.build_arch configure.compiler
     if {${configure.build_arch} ne "" && [arch_flag_supported ${configure.compiler}]} {
         return "-arch ${configure.build_arch}"
@@ -396,7 +396,7 @@
 }
 
 # internal function to determine the "-arch xy" flags for the compiler
-proc portconfigure::configure_get_universal_archflags {args} {
+proc portconfigure::configure_get_universal_archflags {} {
     global configure.universal_archs
     set flags ""
     foreach arch ${configure.universal_archs} {
@@ -410,12 +410,12 @@
 }
 
 # internal function to determine the CFLAGS for the compiler
-proc portconfigure::configure_get_universal_cflags {args} {
+proc portconfigure::configure_get_universal_cflags {} {
     return [configure_get_universal_archflags]
 }
 
 # internal function to determine the LDFLAGS for the compiler
-proc portconfigure::configure_get_universal_ldflags {args} {
+proc portconfigure::configure_get_universal_ldflags {} {
     return [configure_get_universal_archflags]
 }
 
@@ -444,7 +444,7 @@
 }
 
 # internal function to determine the default compiler
-proc portconfigure::configure_get_default_compiler {args} {
+proc portconfigure::configure_get_default_compiler {} {
     if {[option compiler.whitelist] ne ""} {
         set search_list [option compiler.whitelist]
     } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141111/1396deb6/attachment.html>


More information about the macports-changes mailing list