FreeBSD Porter's Handbook
Prev | Chapter 6 Special Considerations | Next

# 6.23 Using Databases

Table 6-45. 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-client` 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/postgresql90-client` port. An associated variable, `WANT_PGSQL_VER`, may be set to values such as 83, 84, 90, 91 or 92. You can declare a minimum or maximum value; `WANT_PGSQL_VER`= `90+` will cause the port to depend on a minimum version of 9.0.
`USE_SQLITE` | If variable is set to `yes`, add dependency on `databases/sqlite3` port. The variable may also be set to values: 3, 2.

More details are available in bsd.database.mk.

Prev | Home | Next
Using Mozilla | Up | Starting and Stopping Services (`rc` Scripts)

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