Ticket #43603: mu.diff

File mu.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

proposed patch

  • Portfile

     
    3030depends_lib         port:gmime port:xapian-core
    3131
    3232use_autoreconf      yes
    33 configure.args      --with-gui=none --disable-mu4e --disable-webkit --disable-guile
     33configure.args      --disable-silent-rules --with-gui=none --disable-mu4e --disable-webkit --disable-guile
    3434
    35 if {${os.platform} == "darwin" && ${os.major} >= 13} {
     35if {${os.platform} eq "darwin" && ${os.major} >= 13} {
    3636    # see https://github.com/djcb/mu/issues/332
    3737    macosx_deployment_target
    3838}
    3939
    40 pre-configure {
    41     # see https://github.com/djcb/mu/issues/380
    42     if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
    43         # for some reason, adding to cxxflags didn't work
    44         configure.args-append "CXXFLAGS='-std=c++11'"
    45     }
    46 }
    47 
    4840variant emacs description {Build with emacs bindings} {
    4941    depends_lib-append    path:${emacs_binary}:${emacs_binary_provider}
    5042    configure.env-append  EMACS=${emacs_binary}