Revision
119572
Author
jmr@macports.org
Date
2014-04-30 15:44:49 -0700 (Wed, 30 Apr 2014)

Log Message

don't run reinplace on links to .la files

Modified Paths

Diff

Modified: trunk/base/src/port1.0/portdestroot.tcl (119571 => 119572)


--- trunk/base/src/port1.0/portdestroot.tcl	2014-04-30 22:35:13 UTC (rev 119571)
+++ trunk/base/src/port1.0/portdestroot.tcl	2014-04-30 22:44:49 UTC (rev 119572)
@@ -189,7 +189,7 @@
         if {${destroot.delete_la_files}} {
             ui_debug "Removing [file tail $fullpath]"
             file delete -force ${fullpath}
-        } else {
+        } elseif {[file type $fullpath] eq "file"} {
             ui_debug "Clearing dependency_libs in [file tail $fullpath]"
             reinplace "/dependency_libs/ s/'.*'/''/" ${fullpath}
         }