New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13859 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Portfile for Scala contains "cd" command

Reported by: ejeklint@… Owned by: blair@…
Priority: Normal Milestone:
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 (515 bytes) - added by ejeklint@… 5 years ago.
Patch that removes the yucky cd command

Change History

Changed 5 years ago by ejeklint@…

Patch that removes the yucky cd command

comment:1 Changed 5 years ago by raimue@…

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

Assign to maintainer.

comment:2 Changed 5 years ago by blair@…

  • Version changed from 1.7.0 to 1.6.0

Reassigning to me.

comment:3 Changed 5 years 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.

comment:4 Changed 5 years ago by jmpp@…

  • Description modified (diff)
  • Milestone set to Port Bugs

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.