[38004] branches/gsoc08-privileges/base

pmagrath at macports.org pmagrath at macports.org
Wed Jul 2 11:59:30 PDT 2008


Revision: 38004
          http://trac.macosforge.org/projects/macports/changeset/38004
Author:   pmagrath at macports.org
Date:     2008-07-02 11:59:29 -0700 (Wed, 02 Jul 2008)
Log Message:
-----------
Merged revisions 37981 via svnmerge from 
https://svn.macosforge.org/repository/macports/trunk/base

........
  r37981 | ryandesign at macports.org | 2008-07-01 23:09:20 +0100 (Tue, 01 Jul 2008) | 2 lines
  
  portlint.tcl: warn when using "configure {}" instead of "use_configure no"; closes #15806
........

Modified Paths:
--------------
    branches/gsoc08-privileges/base/src/port1.0/portlint.tcl

Property Changed:
----------------
    branches/gsoc08-privileges/base/


Property changes on: branches/gsoc08-privileges/base
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk/base:1-37921
   + /trunk/base:1-38003

Modified: branches/gsoc08-privileges/base/src/port1.0/portlint.tcl
===================================================================
--- branches/gsoc08-privileges/base/src/port1.0/portlint.tcl	2008-07-02 18:22:48 UTC (rev 38003)
+++ branches/gsoc08-privileges/base/src/port1.0/portlint.tcl	2008-07-02 18:59:29 UTC (rev 38004)
@@ -271,6 +271,11 @@
             }
         }
 
+        if {[regexp {(^|\s)configure\s+\{\s*\}} $line]} {
+            ui_warn "Line $lineno should say \"use_configure no\" instead of declaring an empty configure phase"
+            incr warnings
+        }
+
         ### TODO: more checks to Portfile syntax
 
         incr lineno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080702/7f9549aa/attachment.html 


More information about the macports-changes mailing list