6.22 Using databases

Table 6-43. Variables for ports using databases

Variable Means
USE_BDB If variable is set to yes, add dependency on databases/db41 port. The variable may also be set to values: 40, 41, 42, 43, 44, 46, 47, 48, or 51. You can declare a range of acceptable values, USE_BDB=42+ will find the highest installed version, and fall back to 42 if nothing else is installed.
USE_MYSQL If variable is set to yes, add dependency on databases/mysql55-server port. An associated variable, WANT_MYSQL_VER, may be set to values such as 323, 40, 41, 50, 51, 52, 55, or 60.
USE_PGSQL If set to yes, add dependency on databases/postgresql84 port. An associated variable, WANT_PGSQL_VER, may be set to values such as 73, 74, 80, 81, 82, 83, or 90.

More details are available in bsd.database.mk.

For questions about the FreeBSD ports system, e-mail <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.