[69102] trunk/dports/_resources/port1.0/group/texlive-1.0.tcl

dports at macports.org dports at macports.org
Wed Jun 23 12:23:12 PDT 2010


Revision: 69102
          http://trac.macports.org/changeset/69102
Author:   dports at macports.org
Date:     2010-06-23 12:23:11 -0700 (Wed, 23 Jun 2010)
Log Message:
-----------
texlive-1.0 portgroup: fix removedocdepends by calling
depends_lib-delete on each individual dependency. Fixes #25369.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/texlive-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/texlive-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/texlive-1.0.tcl	2010-06-23 19:23:04 UTC (rev 69101)
+++ trunk/dports/_resources/port1.0/group/texlive-1.0.tcl	2010-06-23 19:23:11 UTC (rev 69102)
@@ -68,13 +68,11 @@
 # -doc variants
 proc texlive.removedocdepends {} {
     global depends_lib
-    set toremove {}
     foreach dep $depends_lib {
         if [regexp {^port:texlive-documentation-} $dep] {
-            lappend toremove $dep
+            depends_lib-delete $dep
         }
     }
-    depends_lib-delete $toremove
 }
 
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100623/7a3f37ce/attachment.html>


More information about the macports-changes mailing list