From owner-svn-doc-head@freebsd.org Wed Apr 27 13:55:33 2016 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27F92B1D403; Wed, 27 Apr 2016 13:55:33 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9869102E; Wed, 27 Apr 2016 13:55:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3RDtWAD054712; Wed, 27 Apr 2016 13:55:32 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3RDtVq5054710; Wed, 27 Apr 2016 13:55:31 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604271355.u3RDtVq5054710@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 27 Apr 2016 13:55:31 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48737 - in head/en_US.ISO8859-1/books/porters-handbook: special uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 13:55:33 -0000 Author: mat Date: Wed Apr 27 13:55:31 2016 New Revision: 48737 URL: https://svnweb.freebsd.org/changeset/doc/48737 Log: Document the recent bsd.databases.mk changes. - SQLite has been USES=sqlite for a long time. - USE_BDB is now USES=bdb. - USE_MYSQL is now USES=mysql. Reviewed by: wblock Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6123 Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Apr 26 13:00:32 2016 (r48736) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Apr 27 13:55:31 2016 (r48737) @@ -5177,46 +5177,27 @@ USE_XFCE= libexo libmenu libutil panel - 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. + USE_BDB + Obsolete. Replaced by USES=bdb USE_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. + Obsolete. Replaced by USES=mysql USE_PGSQL - Retired in favor of Obsolete. Replaced by USES=pgsql. 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. + Obsolete. Replaced by USES=sqlite Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Tue Apr 26 13:00:32 2016 (r48736) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Apr 27 13:55:31 2016 (r48737) @@ -136,6 +136,92 @@ Adds dependencies on Blas / Lapack libraries. + + <literal>bdb</literal> + + 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+ finds the highest + installed version, and falls back to 4.8 if nothing else is + installed. INVALID_BDB_VER can be used to + specify versions which do not work with this port. 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 contains + db-5.3. + + + + + BDB_LIB_CXX_NAME + + + The name of the Berkeley DB + C++ library. For example, when + using databases/db5, it + contains 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 + contains ${LOCALBASE}/lib. + + + + + BDB_VER + + + The detected Berkeley DB + version. For example, if using + USES=bdb:48+ and Berkeley + DB 5 is installed, it contains + 5. + + + + + + + databases/db48 is + deprecated and unsupported. It must not be used by any + port. + + + <literal>bison</literal> @@ -1427,6 +1513,33 @@ USE_MATE= menus:build intlhackNO_MTREE, NO_ARCH. + + <literal>mysql</literal> + + 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. + + <literal>mono</literal>