Marco Steinbach wrote:
Hi.

Mk/bsd.database.mk seems to handle dependencies resulting from the use
of USE_PGSQL and USE_MYSQL flags differently.

USE_PGSQL pulls in PostgreSQL at buildtime, for both, the client and the
server component. USE_MYSQL seems to only pull anything in at buildtime,
if the flag is set to 'client'.

Thus, with USE_MYSQL=server the build of my port breaks by not
installing anything at buildtime, neither the server nor (more
importantly) its client slaveport, while USE_MYSQL=client does not
install the server.

[...]

I've also tried renaming my MYSQL / PGSQL options to preclude possible
collisions, but that didn't change behaviour.

I'm trying to create a port of Icinga2
(https://www.icinga.org/icinga2/), FWIW.

I think there is no need to install MySQL server on the same machine with Icinga2 (or any other MySQL dependent port). It really needs client library and then it can connect to any remote MySQL server. That's why this is not supported by bsd.database.mk.

Miroslav Lachman
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to