summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-02-08 15:37:55 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-02-08 15:38:20 -0800
commit224ac572445499be78cf3ad2dbbc791568d1458f (patch)
tree4dfd5898a06e9fd417eae91923da9b1502705367 /net-nds/openldap/openldap-2.4.40-r4.ebuild
parentapp-shells/hstr-1.22: version bump. (diff)
downloadgentoo-224ac572445499be78cf3ad2dbbc791568d1458f.tar.gz
gentoo-224ac572445499be78cf3ad2dbbc791568d1458f.tar.bz2
gentoo-224ac572445499be78cf3ad2dbbc791568d1458f.zip
net-nds/openldap: allow override of BDB slot during build.
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-nds/openldap/openldap-2.4.40-r4.ebuild')
-rw-r--r--net-nds/openldap/openldap-2.4.40-r4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-nds/openldap/openldap-2.4.40-r4.ebuild b/net-nds/openldap/openldap-2.4.40-r4.ebuild
index 7db8c17d092f..f0cf71b4cbc8 100644
--- a/net-nds/openldap/openldap-2.4.40-r4.ebuild
+++ b/net-nds/openldap/openldap-2.4.40-r4.ebuild
@@ -34,7 +34,8 @@ REQUIRED_USE="cxx? ( sasl )"
# always list newer first
# Do not add any AGPL-3 BDB here!
# See bug 525110, comment 15.
-BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4'
+# Advanced usage: OPENLDAP_BDB_SLOTS in the environment can be used to force a slot during build.
+BDB_SLOTS="${OPENLDAP_BDB_SLOTS:=5.3 5.1 4.8 4.7 4.6 4.5 4.4}"
BDB_PKGS=''
for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done