Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13859 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

Portfile for Scala contains "cd" command

Reported by: ejeklint@… Owned by: blair@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: scala cd Cc:
Port:

Description (last modified by jmpp@…) (diff)

There is a cd in the portfile for scala so it won't run properly. This patch fixes it (attached too):

  • Portfile

    old new  
    5858        file rename ${scaladir}/share/scala/src ${sharedir}/scala/src 
    5959 
    6060        xinstall -d -m 755 ${sharedir}/java 
    61         cd ${sharedir}/java 
     61 
    6262        foreach f {sbaz-tests.jar sbaz.jar scala-actors.jar scala-compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} { 
    63                 system "ln -s ../scala/share/scala/lib/${f}" 
     63                system "ln -s ${sharedir}/scala/share/scala/lib/${f} ${sharedir}/java/${f}" 
    6464        } 
     65 
    6566} 

Attachments

patchfile.txt (0.5 KB) - added by ejeklint@… 11 months ago.
Patch that removes the yucky cd command

Change History

Changed 11 months ago by ejeklint@…

Patch that removes the yucky cd command

Changed 11 months ago by raimue@…

  • owner changed from macports-tickets@… to blair@…

Assign to maintainer.

Changed 11 months ago by blair@…

  • version changed from 1.7.0 to 1.6.0

Reassigning to me.

Changed 11 months ago by blair@…

  • status changed from new to closed
  • resolution set to fixed

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.

Changed 11 months ago by jmpp@…

  • description modified (diff)
  • milestone set to Port Bugs
Note: See TracTickets for help on using tickets.