[MacPorts] #13859: Portfile for Scala contains "cd" command
#13859: Portfile for Scala contains "cd" command ------------------------------+--------------------------------------------- Reporter: ejeklint@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: scala cd | ------------------------------+--------------------------------------------- There is a cd in the portfile for scala so it won't run properly. This patch fixes it (attached too): --- Portfile.original 2008-01-07 12:49:53.000000000 +0100 +++ Portfile 2008-01-07 13:03:44.000000000 +0100 @@ -58,8 +58,9 @@ file rename ${scaladir}/share/scala/src ${sharedir}/scala/src xinstall -d -m 755 ${sharedir}/java - cd ${sharedir}/java + foreach f {sbaz-tests.jar sbaz.jar scala-actors.jar scala- compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} { - system "ln -s ../scala/share/scala/lib/${f}" + system "ln -s ${sharedir}/scala/share/scala/lib/${f} ${sharedir}/java/${f}" } + } -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13859> MacPorts </projects/macports> Ports system for Mac OS
#13859: Portfile for Scala contains "cd" command -------------------------------+-------------------------------------------- Reporter: ejeklint@mac.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: scala cd -------------------------------+-------------------------------------------- Changes (by raimue@macports.org): * owner: macports-tickets@lists.macosforge.org => blair@macports.org Comment: Assign to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13859#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13859: Portfile for Scala contains "cd" command -------------------------------+-------------------------------------------- Reporter: ejeklint@mac.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: scala cd -------------------------------+-------------------------------------------- Changes (by blair@macports.org): * version: 1.7.0 => 1.6.0 Comment: Reassigning to me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13859#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13859: Portfile for Scala contains "cd" command -------------------------------+-------------------------------------------- Reporter: ejeklint@mac.com | Owner: blair@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: scala cd -------------------------------+-------------------------------------------- Changes (by blair@macports.org): * status: new => closed * resolution: => fixed Comment: Fixed in r32579. I kept the symlinks as relative and not absolute, as the patch does. Also fixed in r32580, do not create a symlink to scala-actors.jar since it no longer exists. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13859#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts