Ticket #36954: 0004-Add-libstemmer-support.patch

File 0004-Add-libstemmer-support.patch, 929 bytes (added by dave@…, 12 years ago)
  • mail/dovecot2/Portfile

    From 8d866647779792e8ea1cf87512375ab292a04016 Mon Sep 17 00:00:00 2001
    From: Dave Abrahams <dave@boostpro.com>
    Date: Sat, 10 Nov 2012 17:46:55 -0500
    Subject: [PATCH 4/4] Add libstemmer support
    
    ---
     mail/dovecot2/Portfile |    7 +++++++
     1 file changed, 7 insertions(+)
    
    diff --git a/mail/dovecot2/Portfile b/mail/dovecot2/Portfile
    index 32c2e2d..8138b8a 100644
    a b if {[vercmp ${version} 2.1.0] > -1} { 
    179179    }
    180180}
    181181
     182variant libstemmer description {Use libstemmer for full-text search} {
     183        depends_lib-append          port:libstemmer
     184        configure.args-append       --with-libstemmer
     185        configure.cppflags-append   -I${prefix}/include
     186        configure.ldflags-append    -L${prefix}/lib/
     187}
     188
    182189variant solr description {Enable apache-solr support} {
    183190
    184191    depends_lib-append          port:expat port:curl