On Jun 23, 2007, at 15:38, Hagen Overdick wrote:
Postgres has it's own infrastructure for add-ons, see:

http://www.postgresql.org/docs/8.2/static/xfunc-c.html

This system relies on:

/opt/local/lib/postgresql82/bin/pg_config

Unfortunately, it's not in the $PATH, when the Makefile is called. I
tried patching the Makefile, but the error seems to come from Postgres
itself.

Long question short: How do I control the $PATH exposed to the Makefile?

Have a look at p5-dbd-pg which does this:

configure.env   PATH=${prefix}/lib/postgresql82/bin:$env(PATH)

or gauche-dbd-pg which does this:

configure.env-append PATH=${prefix}/lib/pgsql8/bin:\${PATH}


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

Reply via email to