aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-bdb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile
index 31c992a719b1..f5699a72a982 100644
--- a/databases/ruby-bdb/Makefile
+++ b/databases/ruby-bdb/Makefile
@@ -28,10 +28,10 @@ WITH_BDB_VER= 3
WITH_BDB_VER= 4
.elif defined(WITH_BDB41) || defined(WITH_DB41)
WITH_BDB_VER= 41
-.elif defined(WITH_BDB42) || defined(WITH_DB42)
+.elif defined(WITH_BDB42) || defined(WITH_DB42) || (defined(WITH_BDB_VER) && ${WITH_BDB_VER} == "42")
WITH_BDB_VER= 42
LIB_SUFFIX= -4.2
-.elif defined(WITH_BDB43) || defined(WITH_DB43)
+.elif defined(WITH_BDB43) || defined(WITH_DB43) || (defined(WITH_BDB_VER) && ${WITH_BDB_VER} == "43")
WITH_BDB_VER= 43
LIB_SUFFIX= -4.3
.endif