Ticket #13859: patchfile.txt

File patchfile.txt, 515 bytes (added by ejeklint@…, 17 years ago)

Patch that removes the yucky cd command

Line 
1--- Portfile.original   2008-01-07 12:49:53.000000000 +0100
2+++ Portfile    2008-01-07 13:03:44.000000000 +0100
3@@ -58,8 +58,9 @@
4        file rename ${scaladir}/share/scala/src ${sharedir}/scala/src
5 
6        xinstall -d -m 755 ${sharedir}/java
7-       cd ${sharedir}/java
8+
9        foreach f {sbaz-tests.jar sbaz.jar scala-actors.jar scala-compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} {
10-               system "ln -s ../scala/share/scala/lib/${f}"
11+               system "ln -s ${sharedir}/scala/share/scala/lib/${f} ${sharedir}/java/${f}"
12        }
13+
14 }