Controlling $PATH of build?

Hagen Overdick sixtus at
Sat Jun 23 13:38:14 PDT 2007

Hello all,

just getting my feeds wet in writing Ports... Here is a tricky question:

Postgres has it's own infrastructure for add-ons, see:

This system relies on:


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

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

It's the last puzzle to having a PL/Java port.


Dissertations are a successful walk through a minefield -- summarizing
them is not. - Roy Fielding

More information about the macports-dev mailing list