aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-bdb
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-02 16:37:36 +0800
committerknu <knu@FreeBSD.org>2001-08-02 16:37:36 +0800
commit8f8074dff83bfac1e3a49948de98f2b2351eb2de (patch)
treecc05cf4252853b5b49eae11182058fce0bb94d0e /databases/ruby-bdb
parentc136001522c6cdb024d7b1bbd986b6de0db7fe9c (diff)
downloadfreebsd-ports-gnome-8f8074dff83bfac1e3a49948de98f2b2351eb2de.tar.gz
freebsd-ports-gnome-8f8074dff83bfac1e3a49948de98f2b2351eb2de.tar.zst
freebsd-ports-gnome-8f8074dff83bfac1e3a49948de98f2b2351eb2de.zip
Link with -ldb3 instead of -ldb.
Diffstat (limited to 'databases/ruby-bdb')
-rw-r--r--databases/ruby-bdb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile
index 98ea38455a98..09022fb8704b 100644
--- a/databases/ruby-bdb/Makefile
+++ b/databases/ruby-bdb/Makefile
@@ -26,6 +26,9 @@ INSTALL_TARGET= site-install
DOCS= Changes README.en bdb.html bdb.rd docs/*
+post-patch:
+ ${RUBY} -i -pe 'sub /have_library\("db"/, %q:have_library("db3":' ${WRKSRC}/src/extconf.rb
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/