Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#13859 closed defect (fixed)

Portfile for Scala contains "cd" command — at Version 4

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

Description (last modified by jmpalacios (Juan Manuel Palacios))

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}

Change History (5)

Changed 17 years ago by ejeklint@…

Attachment: patchfile.txt added

Patch that removes the yucky cd command

comment:1 Changed 17 years ago by raimue (Rainer Müller)

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

Assign to maintainer.

comment:2 Changed 17 years ago by blair (Blair Zajac)

Version: 1.7.01.6.0

Reassigning to me.

comment:3 Changed 17 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

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 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Milestone: Port Bugs
Note: See TracTickets for help on using tickets.