Ticket #1573: etherape.diff

File etherape.diff, 622 bytes (added by blb@…, 21 years ago)

unidiff to Portfile

  • Portfile

    old new  
    2020                  lib:libgnomeui-2:libgnomeui \
    2121                  lib:libglade-2:libglade2 \
    2222                  lib:libiconv:libiconv \
    23                   lib:libintl:gettext
     23                  lib:libintl:gettext \
     24                  lib:libpcap:libpcap
    2425configure.args    --mandir=${prefix}/share/man
    2526configure.env     LDFLAGS="-L${prefix}/lib -lintl -lresolv" CFLAGS="-I${prefix}/include"
    2627
    2728variant darwin {
    2829        patchfiles patch-configure
    29         post-patch {
    30                 reinplace "s|arpa/nameser.h|arpa/nameser8_compat.h|" \
    31                         ${worksrcpath}/src/dns.c
    32         }
     30        configure.env-append    CPPFLAGS="-DBIND_8_COMPAT=1"
    3331}