Revision
75827
Author
ryandesign@macports.org
Date
2011-02-09 16:54:47 -0800 (Wed, 09 Feb 2011)

Log Message

apache-ivy: avoid destroot failure when port is not already installed; see #28340

Modified Paths

Diff

Modified: trunk/dports/devel/apache-ivy/Portfile (75826 => 75827)


--- trunk/dports/devel/apache-ivy/Portfile	2011-02-09 22:57:44 UTC (rev 75826)
+++ trunk/dports/devel/apache-ivy/Portfile	2011-02-10 00:54:47 UTC (rev 75827)
@@ -40,7 +40,7 @@
     xinstall -d ${javadir}/apache-ant/lib/ ${docdir}
     
     xinstall ${worksrcpath}/build/artifact/jars/ivy.jar ${javadir}
-    file link ${javadir}/apache-ant/lib/ivy.jar ${prefix}/share/java/ivy.jar
+    ln -s ${prefix}/share/java/ivy.jar ${javadir}/apache-ant/lib/ivy.jar
     file delete -force ${worksrcpath}/build/artifact
     move ${worksrcpath}/doc ${docdir}/${name}
     # move ${worksrcpath} ${javadir}/${name}