Ticket #40521: perl5x.patch

File perl5x.patch, 915 bytes (added by Serge3leo (Serguei E. Leontiev), 11 years ago)
  • lang/perl5.8/Portfile

    old new  
    3131
    3232patchfiles  patch-perl.c.diff patch-Configure.diff
    3333
    34 platform darwin 11 {
    35     # bypass stupid check that assumes fprintf must be in libc.dylib
    36     patchfiles-append   patch-hints_darwin.sh-usenm.diff
    37 }
    38 platform darwin 12 {
    39     # bypass stupid check that assumes fprintf must be in libc.dylib
    40     patchfiles-append   patch-hints_darwin.sh-usenm.diff
    41 }
    42 
    4334platform darwin {
     35    if {${os.major} >= 11} {
     36        # bypass stupid check that assumes fprintf must be in libc.dylib
     37        patchfiles-append   patch-hints_darwin.sh-usenm.diff
     38    }
    4439    # Prevent miniperl build from finding MacPorts' libstdcxx (#36438).
    4540    patchfiles-append   patch-Makefile.SH.diff
    4641    post-patch {