port configure dovecot
Bradley Giesbrecht
brad at pixilla.com
Thu Jan 28 23:12:32 PST 2010
Why would the current dovecot Portfile want to build mysql5 when I do
"port configure dovecot +mysql5"?
brad at trex ~ $ port installed mysql5
The following ports are currently installed:
mysql5 @5.1.41_0 (active)
brad at trex ~ $ file /opt/local/bin/mysql_config5
/opt/local/bin/mysql_config5: symbolic link to `/opt/local/lib/mysql5/
bin/mysql_config'
brad at trex ~ $ file /opt/local/lib/mysql5/mysql/libmysqlclient.dylib
/opt/local/lib/mysql5/mysql/libmysqlclient.dylib: symbolic link to
`libmysqlclient.16.dylib'
From dovecot:Portfile
variant mysql5 description {Enable MySQL support} {
depends_lib-append path:bin/mysql_config5:mysql5
archcheck.files-append lib/mysql5/mysql/libmysqlclient.dylib
configure.args-append --with-mysql
configure.ldflags-append -L${prefix}/lib/mysql5/mysql
configure.cppflags-append -I${prefix}/include/mysql5/mysql
}
// Brad
More information about the macports-dev
mailing list