Ticket #38616: Portfile.diff

File Portfile.diff, 1.2 KB (added by a.schuster@…, 11 years ago)
  • Portfile

    old new  
    44PortSystem              1.0
    55
    66name                    yara
    7 version                 1.6
    8 revision                1
     7version                 1.7
     8revision                0
    99categories              security
    1010license                 GPL-2+
    1111platforms               darwin
     
    2020homepage                http://code.google.com/p/yara-project/
    2121master_sites            googlecode:yara-project
    2222
    23 checksums               rmd160  5a1ef8e9eccb913156b4be155e9cefb58d0088f2 \
    24                         sha256  af92ac3481212245944561888f6b128cc13fe736fbabf90cc80c26f6179bc9f3
     23checksums               rmd160  12ca8b2eb7a8b7de3fae8d97e728d4847299d99a \
     24                        sha256  fcee06a2f43ab65c88597de54d630a3beee925e7e84c890a8303f08a3fc85c91
    2525
    2626depends_lib             port:pcre
    2727
     
    3030    reinplace "s|inline|static inline|g" ${worksrcpath}/libyara/scan.c
    3131}
    3232
     33variant re2 description "uses re2 library instead of pcre for regular expression parsing" {
     34    configure.args-append   --with-re2
     35    depends_lib-append      port:re2
     36    depends_lib-delete      port:pcre
     37}