aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-bdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile
index f7507644db53..2a505264ccd9 100644
--- a/databases/ruby-bdb/Makefile
+++ b/databases/ruby-bdb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bdb
PORTVERSION= 0.5.9
+PORTREVISION= 1
CATEGORIES= databases ruby
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -25,7 +26,8 @@ USE_RUBY_EXTCONF= yes
USE_RUBY_RDOC= yes
CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \
- --with-db-lib=${BDB_LIB_DIR}
+ --with-db-lib=${BDB_LIB_DIR} \
+ --with-db-lib=${BDB_LIB_NAME:S/^db//}
INSTALL_TARGET= site-install
DOCS= Changes \