Trouble with specific version of pgsql in port Makefile

Lars N. Cleemann ical at cleemann.dk
Wed May 25 13:47:14 UTC 2011


Hi

I am trying to make a new port, that requires a specific version of 
postgresql. In the Makefile I have:

USE_PGSQL=		yes
WANT_PGSQL_VER=		90

this works, but one of the dependencies is py-PyGreSQL and this 
dependency does not inherit the WANT_PGSQL_VER statement, so when i try 
to run make on clean machine it pulls in the default version of 
PostgreSQL (currently 84), and the port will not build.

Is there any way to make dependencies inherit the WANT_PGSQL_VER 
statement, or do I have to put in postgresql90-client as a specific 
dependency?

Thanks in advance

Best regards

Lars N. Cleemann


More information about the freebsd-ports mailing list