summaryrefslogtreecommitdiffstats
path: root/databases/ruby-bdb
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-02 08:37:36 +0000
committerknu <knu@FreeBSD.org>2001-08-02 08:37:36 +0000
commit8f8074dff83bfac1e3a49948de98f2b2351eb2de (patch)
treecc05cf4252853b5b49eae11182058fce0bb94d0e /databases/ruby-bdb
parentc136001522c6cdb024d7b1bbd986b6de0db7fe9c (diff)
downloadFreeBSD-ports-8f8074dff83bfac1e3a49948de98f2b2351eb2de.zip
FreeBSD-ports-8f8074dff83bfac1e3a49948de98f2b2351eb2de.tar.gz
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 98ea384..09022fb 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}/
OpenPOWER on IntegriCloud