I've seen two different methods of describing variants
dovecot2:
variant mysql5 description {Enable MySQL 5.1 support} {
conflicts mysql55 mariadb percona
depends_lib-append port:mysql5
configure.env-append
MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
configure.args-append --with-mysql
}
postfix:
variant mysql5 conflicts mysql55 description "add mysql support via
mysql5.1" {
depends_lib-append path:lib/mysql5/bin/mysql_config:mysql5
lappend CCARGS -DHAS_MYSQL "-I${prefix}/include/mysql5/mysql"
lappend AUXLIBS "-L${prefix}/lib/mysql5/mysql" -lmysqlclient -lz -lm
}
which is the most correct one ???
-or-
which is the best one ???
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev