[88287] trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Mon Dec 26 13:09:51 PST 2011


Revision: 88287
          http://trac.macports.org/changeset/88287
Author:   ryandesign at macports.org
Date:     2011-12-26 13:09:48 -0800 (Mon, 26 Dec 2011)
Log Message:
-----------
perl5-1.0.tcl portgroup: don't create duplicate lines in .packlist files when
upgrading ports; see #26406. Technically this changes the files each p5 port
installs, but nobody has ever reported a problem caused by these duplicate
lines, so increasing the revision of every p5 port seems unnecessary. Also
note that none of the binaries produced by the buildbot would be affected,
since the buildbot always builds ports from scratch; it never upgrades.

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

Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2011-12-26 20:09:59 UTC (rev 88286)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2011-12-26 21:09:48 UTC (rev 88287)
@@ -153,7 +153,7 @@
             fs-traverse file ${destroot}${perl5.lib} {
                 if {[file tail ${file}] eq ".packlist"} {
                     ui_info "Fixing packlist ${file}"
-                    reinplace "s|${destroot}||" ${file}
+                    reinplace -n "s|${destroot}||p" ${file}
                 }
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111226/3543da70/attachment-0001.html>


More information about the macports-changes mailing list