aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2005-11-30 23:01:52 +0800
committerknu <knu@FreeBSD.org>2005-11-30 23:01:52 +0800
commitee509d6e9ef201196d937758b7d8202754cf7fe3 (patch)
tree7d41e6bd43102ac5ec82aee2e77ea0637cec674a /databases
parent65b40a6fa7ebfa42c855a19ee7885592ebabb94b (diff)
downloadfreebsd-ports-gnome-ee509d6e9ef201196d937758b7d8202754cf7fe3.tar.gz
freebsd-ports-gnome-ee509d6e9ef201196d937758b7d8202754cf7fe3.tar.zst
freebsd-ports-gnome-ee509d6e9ef201196d937758b7d8202754cf7fe3.zip
Fix an installation bug when WITH_BDB_VER is set to 42 or 43.
Submitted by: Jarrod Sayers <jarrod@netleader.com.au>
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