Ticket #46409: patch-p5-crypt-passwdmd5.diff

File patch-p5-crypt-passwdmd5.diff, 1.2 KB (added by dbevans (David B. Evans), 10 years ago)

Proposed patch

  • Portfile

     
    33PortSystem      1.0
    44PortGroup       perl5 1.0
    55
    6 perl5.branches      5.16
    7 perl5.setup     Crypt-PasswdMD5 1.3
    8 revision        3
     6perl5.branches  5.16 5.18 5.20
     7perl5.setup     Crypt-PasswdMD5 1.40
    98maintainers     gmail.com:ooburai
    109description     provides interoperable MD5-based crypt() functions for perl
    1110long_description        The unix_md5_crypt() provides a crypt()-compatible \
     
    1312                        found in modern operating systems. It is based on the \
    1413                        implementation found on FreeBSD 2.2-RELEASE.
    1514platforms       darwin
    16 checksums       sha1 887782eb7fd1568ce9514f46156a08c415c26fdf
    1715
     16checksums       rmd160  404e85c40c4da1f19f17a38b412b84aebb54779b \
     17                sha256  b77d6aeea25301af7be679f7452e894ca88af9710bffd6e01d665a141c391948
     18
     19extract.suffix  .tgz
     20
    1821supported_archs noarch
    19 
    20 if {${perl5.major} != ""} {
    21     depends_build-append bin:iconv:libiconv
    22    
    23     post-patch {
    24         system -W ${worksrcpath} "iconv -f ISO-8859-1 -t UTF-8 Makefile.PL > Makefile.PL.new && mv Makefile.PL.new Makefile.PL"
    25     }
    26 }