Opened 11 years ago

Closed 10 years ago

#39040 closed defect (fixed)

gnupod Portfile patch

Reported by: davidfavor (David Favor) Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: gnupod

Description

Current portfile is broken, as it still uses the non-pure-perl version of vorbis perl.

There are also many perl5.12 dependencies, rather than p5 (virtual) dependencies.

The attached Portfile addresses the following:

1) gnupod will no build

2) changed all perl5.12 references to p5, to use whatever version of perl is selected

One outstanding bug still exists.

Using depends_lib-append port:p5-ogg-vorbis-header-pureperl somehow fires a p5.12 dependency.

The brute force fix I uses was port:p5.16-ogg-vorbis-header-pureperl and is better fixed "the right way".

So if the maintainer knows "the right way", please supply another patch to p5-ogg-vorbis-header-pureperl to fix this.

Thanks.

Attachments (1)

Portfile-gnupod.diff (1.6 KB) - added by davidfavor (David Favor) 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by davidfavor (David Favor)

Attachment: Portfile-gnupod.diff added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

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

MacPorts does not use virtual dependencies. Ports that have library dependencies on Perl are required to use a specific version so that their builds are reproducible. This was done for most ports in r82553.

p5-* ports are stub ports that simply depend on the corresponding p5.12-* ports, so the behavior you are seeing with p5-ogg-vorbis-header-pureperl is not a bug.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

I switched the vorbis variant to use p5.16-ogg-vorbis-header-pureperl in r120989.

Note: See TracTickets for help on using tickets.