Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#20511 closed enhancement (fixed)

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 (Ryan Carsten Schmidt)
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:

Diff: http://search.cpan.org/diff?from=libwww-perl-5.826&to=libwww-perl-5.830

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: narf_tm@… removed
Owner: changed from macports-tickets@… to narf_tm@…

comment:2 Changed 15 years ago by tobypeterson

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

comment:3 in reply to:  2 Changed 15 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.

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

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.

comment:5 Changed 14 years ago by jpo@…

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

tia, jpo

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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.

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

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