Ticket #52381: neomutt.patch

File neomutt.patch, 1.2 KB (added by lbschenkel (Leonardo Brondani Schenkel), 8 years ago)

add +homespool, enable when not root, add openmaintainer

  • neomutt/Portfile

    diff --git a/neomutt/Portfile b/neomutt/Portfile
    a b  
    99categories          mail
    1010platforms           darwin
    1111license             GPL-2
    12 maintainers         schenkel.net:leonardo
     12maintainers         schenkel.net:leonardo openmaintainer
    1313
    1414description         The Mutt E-Mail Client (patched version with added features)
    1515long_description    Mutt is a small but very powerful text-based MIME \
     
    6161                    --without-tokyocabinet
    6262
    6363default_variants    +idn +imap +pop +ssl
     64if {${install.user} ne "root"} {
     65    default_variants-append +homespool
     66}
    6467
    6568set hcache_variants {db4 gdbm lmdb qdbm tokyocabinet}
    6669if {[variant_isset headercache]} {
     
    111114variant headercache description {Enable header caching (requires db4, gdbm, qdbm, lmdb or tokyocabinet)} {
    112115    configure.args-replace      --disable-hcache --enable-hcache
    113116}
     117variant homespool description {Spool mail in home directory (allows installing without root privileges)} {
     118    configure.args-append       --with-homespool
     119}
    114120variant idn description {Internationalized Domain Name support} {
    115121    configure.args-replace      --without-idn --with-idn=${prefix}
    116122    depends_lib-append          port:libidn port:zlib