We need to use -ldb3 to link to the berkeley db libraries.

PR:		35095
Submitted by:	maintainer
This commit is contained in:
Pete Fritchman 2002-02-20 07:52:33 +00:00
parent 102c75ba96
commit 241891f22d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54957

View File

@ -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>