- USE_BDB
- If variable is set to yes,
- add dependency on
- databases/db5
- port. The variable may also be set to values: 48, 5
- or 6. It is possible to declare a range of acceptable
- values, USE_BDB=48+ will find the
- highest installed version, and fall back to 4.8 if
- nothing else is installed.
- WANT_BDB_VER will always build this
- port with a specific version of the Berkely DB.
- INVALID_BDB_VER can be used to
- specify a version that cannot be used.
+ USES=bdb
+ Retired in favor of USES=bdbUSE_MYSQL
- If the variable is set to yes,
- add a dependency on the databases/mysql56-client port.
- An associated variable,
- WANT_MYSQL_VER, may be set to
- values such as 51, 55, or 60. Additionally to
- specify use of Percona, use 56p, or for MariaDB, use
- 53m, 55m or 100m.
+ Retired in favor of USES=mysql
@@ -5212,11 +5196,8 @@
USE_SQLITE
- If set to yes, add
- dependency on
- databases/sqlite3
- port. The variable may also be set to 3 or 2, to add
- a dependency on 3.x or 2.x, respectively.
+ Retired in favor of USES=sqlite
Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -136,6 +136,92 @@
Adds dependencies on Blas / Lapack libraries.
+
+ bdb
+
+ Possible arguments: (none), 48,
+ 5 (default), 6
+
+ Add dependency on the Berkeley DB
+ library. Default to databases/db5. It can also depend on
+ databases/db48 when using the
+ :48 argument or databases/db6 with
+ :6. It is possible to declare a range of
+ acceptable values, :48+ will find the
+ highest installed version, and fall back to 4.8 if nothing
+ else is installed. INVALID_BDB_VER can be
+ used to specify a version that cannot be used. The framework
+ exposes the following variables to the port:
+
+
+
+ BDB_LIB_NAME
+
+
+ The name of the Berkeley DB
+ library. For example, when using databases/db5, it will contain
+ db-5.3.
+
+
+
+
+ BDB_LIB_CXX_NAME
+
+
+ The name of the Berkeley DB
+ C++ library. For example, when
+ using databases/db5, it
+ will contain db_cxx-5.3.
+
+
+
+
+ BDB_INCLUDE_DIR
+
+
+ The location of the Berkeley
+ DB include directory. For example, when
+ using databases/db5, it
+ will contain
+ ${LOCALBASE}/include/db5.
+
+
+
+
+ BDB_LIB_DIR
+
+
+ The location of the Berkeley
+ DB library directory. For example, when
+ using databases/db5, it
+ will contain ${LOCALBASE}/lib.
+
+
+
+
+ BDB_VER
+
+
+ The detected Berkeley DB
+ version. For example, if using
+ USES=bdb:48+ and Berkeley
+ DB 5 is installed, it will contain
+ 5.
+
+
+
+
+
+
+ databases/db48 is
+ deprecated and unsupported. It must not be used by any port
+ other than the bitcoin ones.
+
+
+
bison
@@ -1427,6 +1513,33 @@
NO_MTREE, NO_ARCH.
+
+ mysql
+
+ Possible arguments: (none),
+ version,
+ server, embedded
+
+ Provide support for MySQL. If no
+ version is given, try to find the current installed version.
+ Fall back to the default version, MySQL-5.6. The possible
+ versions are 55, 55m,
+ 55p, 56,
+ 56p, 57,
+ 100m, and 101m. The
+ m and p suffixes are for
+ the MariaDB and
+ Percona variants of
+ MySQL. server and
+ embedded add a build- and run-time dependency
+ on the MySQL server. A port can set
+ IGNORE_WITH_MYSQL if some versions are not
+ supported.
+
+ The framework sets MYSQL_VER to the
+ detected MySQL version.
+
+
mono