Ticket #1633: net_ethereal_Portfile.diff

File net_ethereal_Portfile.diff, 1.2 KB (added by opendarwin.org@…, 20 years ago)

patch to net/ethereal Portfile, adds +pcre, +net-snmp, +adns

  • Portfile

    RCS file: /Volumes/src/cvs/od/projects/darwinports/dports/net/ethereal/Portfile,v
    retrieving revision 1.21
    diff -u -r1.21 Portfile
     
    33PortSystem 1.0
    44name            ethereal
    55version         0.10.2
     6revision        1
    67categories      net
    78maintainers     opendarwin.org@darkart.com
    89description     Graphical network analyzer and capture tool
     
    3132
    3233configure.args  --without-plugins --enable-gtk2 \
    3334                --with-net-snmp=no --with-ucd-snmp=no \
    34                 --mandir=\\\${prefix}/share/man
     35                --mandir=\\\${prefix}/share/man \
     36                --infodir=\\\${prefix}/share/info
    3537
    3638variant no-x11  {
    3739        configure.args-append   --disable-ethereal
    3840        depends_lib-delete      lib:libgtk.2:gtk2
    3941}
     42variant pcre {
     43        configure.args-append   --with-pcre=${prefix}
     44        depends_lib-append      lib:libpcre:pcre
     45}
     46
     47variant net-snmp {
     48        configure.args-append   --with-net-snmp=${prefix}/bin/net-snmp-config
     49        configure.args-delete   --with-net-snmp=no
     50        depends_lib-append      lib:XXX:net-snmp
     51}
     52
     53variant adns {
     54        configure.args-append   --with-adns=${prefix}
     55        depends_lib-append      lib:XXX:adns
     56}
     57#
     58##EOF