summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-25 15:45:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-25 15:45:16 +0000
commit7c0d59ffd1368965b2019a0a0a0aa828515f8212 (patch)
tree6756566d334d23225225bba7b20a4f3eab022226
parent- Use -lpthread instead of -pthread (diff)
- Update USE_BDB
- Use -lpthread instead of -pthread - Cleanup -lpthread/-pthread manipulation
Notes
Notes: svn path=/head/; revision=382240
-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>