New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20511 (closed enhancement: fixed)

Opened 3 years ago

Last modified 16 months ago

RFE: p5-libwww-perl: please add the programs and the aliases

Reported by: jpo@… Owned by: narf_tm@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: ryandesign@…
Port: p5-libwww-perl

Description

Description:
The current portfile doesn't install:

  • the lwp programs (by adding the -n option to Makefile.PL) and
  • the aliases HEAD, GET, and POST

Note: I complete addicted to the aliases (they are installed by default in Red Hat/Fedora linux distros),

Solution:
* Remove the -n option in order to having the programs lwp-* installed * Add the --aliases option in order to having the aliases installed

Portfile changes:

< 	configure.pre_args-append    -n
>	configure.pre_args-append    --aliases

Notes:
* This perl module can also be updated as the latest version available in CPAN is the 5.830 ( http://search.cpan.org/dist/libwww-perl)
Diff:  http://search.cpan.org/diff?from=libwww-perl-5.826&to=libwww-perl-5.830

Change History

  Changed 3 years ago by macsforever2000@…

  • cc narf_tm@… removed
  • owner changed from macports-tickets@… to narf_tm@…

follow-up: ↓ 3   Changed 3 years ago by toby@…

Just want to note: "HEAD" is completely out of the question, given that most Mac OS X systems are case-insensitive.

in reply to: ↑ 2   Changed 3 years ago by jpo@…

Replying to toby@…:

Just want to note: "HEAD" is completely out of the question, given that most Mac OS X systems are case-insensitive.

Would at least be possible to have them installed with a variant (eg: aliases) ? Note: I always (re)install my Macs with case-sensitive file-systems.

  Changed 2 years ago by ryandesign@…

I would not be comfortable providing an option to install a binary called "HEAD" on Mac OS X that does not do what the binary called "head" is supposed to do, even in a variant. The breakage this would cause on a case-insensitive filesystem is just too severe.

  Changed 2 years ago by jpo@…

Could at least the "-n" option be removed so that the lwp-* scripts can be installed?

tia, jpo

  Changed 16 months ago by ryandesign@…

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

I'm unsure why "-n" is in the portfile, but it has been there since the port was added in r5776. I removed it while updating p5-libwww-perl to the latest version in r72979 so these scripts should now be available.

FYI, see #27067 for an example of the problems that Mac users are still running into even today when installing LWP's "HEAD". So we do not want to be contributing to causing that.

  Changed 16 months ago by ryandesign@…

  • cc ryandesign@… added
Note: See TracTickets for help on using tickets.