Ticket #52503: hexchat2.12.1-tiger-fix.diff

File hexchat2.12.1-tiger-fix.diff, 1.2 KB (added by ken-cunningham-webuse, 8 years ago)
  • irc/hexchat/Portfile

    old new  
    6464                    --enable-spell=libsexy \
    6565                    --enable-socks
    6666
     67platform darwin 8 {
     68    # sysinfo backend.m contains ObjC incompatible with Tiger even after 10.9 and lower patch
     69    configure.args-append --disable-sysinfo
     70
     71    # -fPIE flag is falsely identified by autoconf as compatible with 10.4 - remove manually
     72    post-configure {
     73         reinplace "s|-fPIE||g" ${worksrcpath}/Makefile
     74         reinplace "s|-fPIE||g" ${worksrcpath}/src/common/Makefile
     75    }
     76}
     77
     78
    6779universal_variant   no
    6880
    6981default_variants    +ssl
     
    100112livecheck.type  regex
    101113livecheck.url   http://hexchat.github.io/downloads.html
    102114livecheck.regex ${name}-(\\d+(\\.\\d+)+)\\.tar
     115
     116notes \
     117"If fetch fails, which it likely will on 10.6 or lower \
     118 \nmanually download the source to the proper directory like this: \
     119 \ninstall wget then cd ${prefix}/var/macports/distfiles/hexchat  \
     120 \nthen sudo wget http://dl.hexchat.net/hexchat/hexchat-2.12.1.tar.xz\n\n"
     121