Ticket #36954: 0003-Presumably-we-should-never-say-opt-local-explicitly-.patch

File 0003-Presumably-we-should-never-say-opt-local-explicitly-.patch, 948 bytes (added by dave@…, 12 years ago)
  • mail/dovecot2/Portfile

    From 727e2ae2249a6d2bdb0e876400be1c093d28d4ae Mon Sep 17 00:00:00 2001
    From: Dave Abrahams <dave@boostpro.com>
    Date: Sat, 10 Nov 2012 17:46:43 -0500
    Subject: [PATCH 3/4] Presumably we should never say /opt/local explicitly;
     replaced with ${prefix}
    
    ---
     mail/dovecot2/Portfile |    4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mail/dovecot2/Portfile b/mail/dovecot2/Portfile
    index 59897a5..32c2e2d 100644
    a b if {[vercmp ${version} 2.1.0] > -1} { 
    174174
    175175        depends_lib-append          port:clucene
    176176        configure.args-append       --with-lucene
    177         configure.cppflags-append   -I/opt/local/include -I/opt/local/lib
    178         configure.ldflags-append    -L/opt/local/lib/
     177        configure.cppflags-append   -I${prefix}/include -I${prefix}/lib
     178        configure.ldflags-append    -L${prefix}/lib/
    179179    }
    180180}
    181181