Ticket #18752: libiconv-cc.patch

File libiconv-cc.patch, 651 bytes (added by dale+macports@…, 16 years ago)

Move reference to configure.cc into a post-configure block in the Portfile

  • dports/textproc/libiconv/Portfile

    diff --git a/dports/textproc/libiconv/Portfile b/dports/textproc/libiconv/Portfile
    index 68339b1..cc15875 100644
    a b configure.args \ 
    5454    --disable-nls \
    5555    --enable-extra-encodings
    5656
    57 if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} {
    58     build.cmd ${build.cmd} CC=${configure.cc} -f Makefile.devel && ${build.cmd}
     57post-configure {
     58        if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} {
     59                build.cmd ${build.cmd} CC=${configure.cc} -f Makefile.devel && ${build.cmd}
     60        }
    5961}
    6062
    6163test.run                yes