[116597] trunk/dports/graphics/librsvg/Portfile

pixilla at macports.org pixilla at macports.org
Wed Jan 29 12:53:43 PST 2014


Revision: 116597
          https://trac.macports.org/changeset/116597
Author:   pixilla at macports.org
Date:     2014-01-29 12:53:42 -0800 (Wed, 29 Jan 2014)
Log Message:
-----------
graphics/librsvg:
- Only delete file if it exists. Closes #42315

Modified Paths:
--------------
    trunk/dports/graphics/librsvg/Portfile

Modified: trunk/dports/graphics/librsvg/Portfile
===================================================================
--- trunk/dports/graphics/librsvg/Portfile	2014-01-29 20:47:03 UTC (rev 116596)
+++ trunk/dports/graphics/librsvg/Portfile	2014-01-29 20:53:42 UTC (rev 116597)
@@ -91,7 +91,10 @@
         ${destroot}${docdir}
     xinstall -m 755 -W ${buildpath} svg2pdf \
         ${destroot}${prefix}/bin
-    delete file ${destroot}${prefix}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a
+    set badfile ${prefix}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a
+    if {[file exists ${destroot}${badfile}]} {
+        delete file ${destroot}${badfile}
+    }
 }
 
 post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140129/9e796b2c/attachment.html>


More information about the macports-changes mailing list