[92732] trunk/base/src/port1.0/portlint.tcl

jmr at macports.org jmr at macports.org
Fri May 4 20:34:53 PDT 2012


Revision: 92732
          https://trac.macports.org/changeset/92732
Author:   jmr at macports.org
Date:     2012-05-04 20:34:52 -0700 (Fri, 04 May 2012)
Log Message:
-----------
consolidate some global declarations

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2012-05-05 03:31:54 UTC (rev 92731)
+++ trunk/base/src/port1.0/portlint.tcl	2012-05-05 03:34:52 UTC (rev 92732)
@@ -291,15 +291,13 @@
 
     ###################################################################
 
-    global os.platform os.arch os.version
-    global version revision epoch
+    global os.platform os.arch os.version version revision epoch \
+           description long_description platforms categories all_variants \
+           maintainers license homepage master_sites checksums patchfiles \
+           depends_fetch depends_extract depends_lib depends_build \
+           depends_run distfiles fetch.type lint_portsystem lint_platforms \
+           lint_required lint_optional
     set portarch [get_canonical_archs]
-    global description long_description platforms categories all_variants
-    global maintainers license homepage master_sites checksums patchfiles
-    global depends_fetch depends_extract depends_lib depends_build depends_run distfiles fetch.type
-    
-    global lint_portsystem lint_platforms
-    global lint_required lint_optional
 
     if (!$seen_portsystem) {
         ui_error "Didn't find PortSystem specification"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120504/5ee822ea/attachment.html>


More information about the macports-changes mailing list