summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-02-20 07:52:33 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-02-20 07:52:33 +0000
commit241891f22d727607cdd27444bbb32cf895615b77 (patch)
tree7a763fab47264ddc836625d4040dc63373a02f88
parentPopulate SCRIPTS_ENV with variables the configure script needs. (diff)
We need to use -ldb3 to link to the berkeley db libraries.
PR: 35095 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=54957
-rw-r--r--databases/p5-BerkeleyDB/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
index 76ccdfcd24ee..d0ca4b2bebd9 100644
--- a/databases/p5-BerkeleyDB/Makefile
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -23,5 +23,6 @@ ALL_TARGET= all test
post-patch:
${PERL} -pi -e 's|^(INCLUDE\s+= )./libraries/.*$$|$$1\$(PREFIX)/include/db3|g; \
s|^(LIB\s+= )./libraries/.*$$|$$1$(PREFIX)/lib|g' ${WRKSRC}/config.in
+ ${PERL} -pi -e 's|^#DBNAME.*|DBNAME = -ldb3|' ${WRKSRC}/config.in
.include <bsd.port.mk>