Ticket #52366: Portfile.patch

File Portfile.patch, 1.7 KB (added by lbschenkel (Leonardo Brondani Schenkel), 8 years ago)
  • neomutt/Portfile

    diff --git a/neomutt/Portfile b/neomutt/Portfile
    a b  
    55PortGroup           github 1.0
    66
    77github.setup        neomutt neomutt 20160916 neomutt-
    8 revision            2
     8revision            3
    99categories          mail
    1010platforms           darwin
    1111license             GPL-2
     
    3838                    --disable-hcache \
    3939                    --disable-imap \
    4040                    --disable-nntp \
     41                    --disable-notmuch \
    4142                    --disable-pop \
    4243                    --disable-sidebar \
    4344                    --disable-silent-rules \
     
    6162
    6263default_variants    +idn +imap +pop +ssl
    6364
    64 set hcache_variants {db4 qdbm tokyocabinet gdbm lmdb}
     65set hcache_variants {db4 gdbm lmdb qdbm tokyocabinet}
    6566if {[variant_isset headercache]} {
    6667    set found no
    67     foreach hcache_impl {db4 qdbm tokyocabinet gdbm lmdb} {
     68    foreach hcache_impl {db4 gdbm lmdb qdbm tokyocabinet} {
    6869        if {[variant_isset $hcache_impl]} {
    6970            set found yes
    7071        }
     
    8182    # delete horribly outdated ca bundle, I hope people weren't using that!
    8283    delete ${destroot}${prefix}/share/doc/mutt/samples/ca-bundle.crt
    8384}
     85
    8486variant compress description {Compressed folders} {
    8587    configure.args-replace      --disable-compressed --enable-compressed
    8688}
     
    120122    configure.args-replace      --without-lmdb --with-lmdb=${prefix}
    121123    depends_lib-append          port:lmdb
    122124}
     125variant notmuch description {Notmuch support} {
     126    configure.args-replace      --disable-notmuch --enable-notmuch
     127    depends_lib-append          port:notmuch
     128}
    123129variant nntp description {NNTP support} {
    124130    configure.args-replace      --disable-nntp --enable-nntp
    125131}