Ticket #46057: Portfile.diff

File Portfile.diff, 1.3 KB (added by lockhart (Thomas Lockhart), 10 years ago)

Updated to fix specification of perl versions per comments in ticket. Add a default perl branch. Also update comment regarding hinky version number.

  • Portfile

    old new  
    44PortSystem          1.0
    55PortGroup           perl5 1.0
    66
    7 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
     7perl5.branches      5.16 5.18 5.20
     8perl5.default_branch \
     9                    5.16
    810perl5.setup         SGMLSpm 1.03ii
    9 # version needs to be set because of a bug in the perl5 portgroup that cannot handle characters in the version number.
    10 # See #43727 <http://trac.macports.org/ticket/43727>.
     11# version needs to be set because this is an invalid version number for perl modules.
     12# See #43727 <http://trac.macports.org/ticket/43727> for details.
    1113version             1.03ii.0
    12 revision            1
     14revision            2
    1315platforms           darwin
    1416license             GPL-2+
    1517maintainers         gmail.com:tlockhart1976 openmaintainer
     
    3032
    3133worksrcdir          ${perl5.module}
    3234
     35variant p5.16-sgmlspm conflicts p5.18-sgmlspm p5.20-sgmlspm description {} {}
     36variant p5.18-sgmlspm conflicts p5.16-sgmlspm p5.20-sgmlspm description {} {}
     37variant p5.20-sgmlspm conflicts p5.16-sgmlspm p5.18-sgmlspm description {} {}
     38
    3339if {${perl5.major} != ""} {
    3440    post-patch {
    3541        reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/Makefile