Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16252 closed enhancement (duplicate)

ghc does not let me use perl5.10

Reported by: lee@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ghc perl Cc:
Port: ghc

Description

I am trying to keep a macports install with only perl5.10, but GHC forces me to install perl5.8. As I understand it, all of the available p5 modules will work with perl5.10 so it should be OK to allow either 5.8 or 5.10.

Change History (9)

comment:1 Changed 16 years ago by blb@…

Milestone: Port Enhancements
Owner: changed from macports-tickets@… to gwright@…
Type: defectenhancement

Assigning to maintainer.

Any port which uses the perl port group (which should be the vast majority of p5-* ports) will use an already-installed perl5.10 if available, but ghc specifically depends on perl5.8. ghc could be updated to work like the perl modules by changing the perl dependency to:

depends_run path:${prefix}/bin/perl:perl5.8

Assuming it would work okay with 5.10

comment:2 Changed 16 years ago by jmroot (Joshua Root)

It would work, except that AFAIK perl5.10 does not install ${prefix}/bin/perl, which is what the perl5 portgroup relies on.

comment:3 Changed 16 years ago by lee@…

Maybe this is something that should be brought up to the perl 5.10 maintainers? The addition of a perl equivalent to 'pythonselect' would be nice, and would guarantee a bin/perl binary. Or just a full transition to perl 5.10, since all of the new features are off by default.

comment:4 in reply to:  2 Changed 16 years ago by afb@…

Replying to jmr@macports.org:

It would work, except that AFAIK perl5.10 does not install ${prefix}/bin/perl, which is what the perl5 portgroup relies on.

If you edit the ${prefix}/bin/perl binary (to be a link to perl5.10.0 instead of perl5.8.8), you would be able to use perl5.10 if the bin:perl dependency style was used. perl_select or not.

comment:5 Changed 16 years ago by afb@…

Maybe one does want path:${prefix}/bin/perl instead of bin:perl to not pick up system :-)

comment:6 Changed 16 years ago by afb@…

Summary: ghc does not let me user perl5.10ghc does not let me use perl5.10

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: ghc added

See related (or duplicate?) ticket #17263.

comment:8 Changed 15 years ago by gwright@…

Resolution: duplicate
Status: newclosed

Closing as a duplicate of #17263; further changes will be tracked under that ticket.

comment:9 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.