Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2008 14:24:20 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Xin LI" <delphij@freebsd.org>, sergei@freebsd.org, ports@freebsd.org
Subject:   sysutils/cfengine: invalid use of USE_BDB
Message-ID:  <790a9fff0801051224p4fb8481pbcc24051b2438dcf@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have noticed that sysutils/cfengine is using USE_BDB incorrectly.

USE_BDB?= 46

The USE_BDB variable is not a user setable variable. If someone were
to read this Makefile, they would get the wrong impression that they
should set USE_BDB in there /etc/make.conf, ports.conf, or
portupgrade.conf file.   When they should instead be setting the
WITH_BDB_VER variable.

The USE_BDB should be set to the minimum version of Berkeley DB that
the port will build with.

USE_BDB= 44+

And left up to the person installing the port to specify a higher version.

If you want to take the choice away from the installer and have the
port always use BDB 4.6, then the port should use:

USE_BDB= 46

Which will prevent the use of BDB 4.4 and 4.5 from ever being used by this port.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0801051224p4fb8481pbcc24051b2438dcf>