[126005] trunk/dports/mail/dovecot2/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Oct 1 15:11:43 PDT 2014


> On Oct 1, 2014, at 4:10 PM, pixilla at macports.org wrote:
> 
> Revision
> 126005
> Author
> pixilla at macports.org
> Date
> 2014-10-01 14:10:50 -0700 (Wed, 01 Oct 2014)
> Log Message
> 
> mail/dovecot2:
> - Replace hardcoded /opt/local the $prefix.
> - Remove trailing whitespace.
> 
> Modified Paths
> 
> 	• trunk/dports/mail/dovecot2/Portfile


> -        configure.cppflags-append   -I/opt/local/include -I/opt/local/lib
> -        configure.ldflags-append    -L/opt/local/lib/
> +        configure.cppflags-append   -I${prefix}/include -I${prefix}/lib
> +        configure.ldflags-append    -L${prefix}/lib/

Why append -I${prefix}/include to configure.cppflags? It's there by default, except that you've overridden configure.cppflags earlier in the portfile, but why?

Why append -I${prefix}/lib to configure.cppflags? There are no include files in ${prefix}/lib.

Why append -L${prefix}/lib/ to configure.ldflags? -L${prefix}/lib is already in configure.ldflags and is equivalent.



More information about the macports-dev mailing list