I'm trying to set up a separate machine exclusively for php-fpm. PHP need to have postgres support in PHP, so it need to be compiled with "--with-pdo-pgsql" flag. I've added this line to my /etc/portage/package.use/php
file:
dev-lang/php postgres
Now emerge -av php
wants to install also whole PostgreSQL database engine, which is completely useless for my use case.
I've tried to put dev-db/postgresql
into package.mask
, but now I can't install PHP at all. Is there any way to omit this particular package when building PHP with --with-pdo-pgsql
flag?
--with-pdo-pgsql
to pass the configure phasedev-db/postgresql
must be installed, as the postgresql executable and libraries are linked against at compile time. This is standard behavior. – eyoung100 Sep 6 '16 at 16:58