On Feb 9, 2009, at 3:53 PM, Ryan Schmidt wrote:
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)
Well, I'll be. I have never bothered to check if mysql_config5 was a
symlink.
Nice to know. Some scripts accept paths to mysql_config dir. I should
have checked that out.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev