Ticket #18258: Portfile.diff

File Portfile.diff, 766 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
  • Portfile

    old new  
    55
    66name                    libiconv
    77version                 1.12
    8 revision                2
     8revision                3
    99categories              textproc
    1010maintainers             ryandesign
    1111platforms               darwin freebsd linux
     
    5454    --disable-nls \
    5555    --enable-extra-encodings
    5656
     57post-patch {
     58    # make iconv prototype the same on all platforms
     59    reinplace "s|am_cv_proto_iconv_arg1=\"const\"|am_cv_proto_iconv_arg1=\"\"|" ${worksrcpath}/configure
     60}
     61
    5762if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} {
    5863    build.cmd ${build.cmd} CC=${configure.cc} -f Makefile.devel && ${build.cmd}
    5964}