20060403:

AFFECTS
users of databases/db*
AUTHOR
swhetzel@gmail.com

Most of the ports that depend on Berkeley DB have been updated to use Mk/bsd.database.mk. Mk/bsd.database.mk is used to include MySQL, PostgreSQL, Berkeley DB, and SQLite in a port.
Berkeley DB に依存するほとんどのportsがアップデートされ、Mk/bsd.database.mkを使うようになりました。Mk/bsd.database.mk は、MySQLPostgreSQL、Berkeley DB、SQLiteportsにインクルードするために用いられます。
The Berkeley DB support in Mk/bsd.database.mk is used to return the proper db* library name and location of the include and library directories of the requested version.
Mk/bsd.database.mkにおけるBerkeley DB サポートでは、リクエストされたデータベースのバージョンに対し、適切なdb*ライブラリ名と、インクルードするファイルやライブラリのディレクトリのロケーションを返します。
To select a version of Berkeley DB, you can use either WITH_BDB_VER= or ${UNIQUENAME}_WITH_BDB_VER= (version is one of 3, 40, 41, 42, 43, or 44).
Berkeley DB のバージョンを選択する方法として、WITH_BDB_VER=もしくは${UNIQUENAME} _WITH_BDB_VER=のどちらかを用いることができます(versionは3、40、41、42、43、44のいずれか)。
When a port has USE_BDB defined as either 'USE_BDB=41+' or 'USE_BDB=yes', the port will use the oldest installed version of Berkeley DB. For example if both db41 and db43 are installed, the port would end up compiling with db41. If you add -DWITH_BDB_HIGHEST to your make command, the port will use highest db* instead. If no Berkeley DB is installed then the port will default to the version specified or the default Berkeley DB version (currently db41).
portsでUSE_BDBが’USE_BDB=41+’もしくは’USE_BDB=yes’と定義されている場合、インストールされているBerkeley DB のうちもっとも古いバージョンが利用されます。たとえば、db41とdb43が両方インストールされている場合、portsはdb41に合わせてコンパイルされることになります。makeコマンドにDWITH_BDB_HIGHESTを追加すれば、バージョンがもっとも大きいdb*を利用します。どのバージョンの Berkeley DB もインストールされていなかった場合、portsは指定された(もしくはデフォルトの:現在のデフォルトはdb41)バージョンを変更しません。
NOTE: If a port was using a different variable to select Berkeley DB or a version, you will get an IGNORE message when you build the port. This message will tell you what you need to do.
注意:Berkeley DB 選択のパラメータが間違っていたり、Berkeley DB のバージョンが異なる場合、portsのビルド中にIGNOREメッセージが表示されます。このメッセージはどのような処理が必要であるかを示しています。
Port Maintainers please review the comments in Mk/bsd.database.mk on what variables are available for you use in your own ports.
portsメンテナへ。どの変数が利用可能であるのかに関するMk/bsd.database.mkのコメントを見直して頂きたい。
$FreeBSD: ports/UPDATING,v 1.305 2006/04/03 06:21:06 leeym Exp $
$FreeBSD: ports/UPDATING,v 1.370 2006/07/25 07:52:13 blackend Exp $