On Feb 9, 2009, at 14:21, Bradley Giesbrecht wrote:

Does anyone know a simple way to env alias a command like mysql_config=/opt/local/bin/mysql_config5?

I have a lib I'm porting "libzdb" that uses "mysql_config --libs $LDFLAGS".

I'm trying to find a way to make this build without patching.

You could prepend ${prefix}/lib/mysql5/bin to the PATH. That's where the program "mysql_config" lives.


configure.env-append    PATH=${prefix}/lib/mysql5/bin:$env(PATH)




_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to