summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/p5-BDB/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/p5-BDB/Makefile b/databases/p5-BDB/Makefile
index e3dcf77ef10d..3e63bf965223 100644
--- a/databases/p5-BDB/Makefile
+++ b/databases/p5-BDB/Makefile
@@ -19,12 +19,12 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTSCOUT= skipv:1.801
CFLAGS+= -I${BDB_INCLUDE_DIR}
-LDFLAGS+= -pthread
-USE_BDB= 43+
+LDFLAGS+= -lpthread
+USE_BDB= yes
USE_PERL5= configure
USES= perl5
post-patch:
- @${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} -pthread|' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e '18 s|-ldb|-l${BDB_LIB_NAME}|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>