svn commit: r382240 - head/databases/p5-BDB

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Mar 25 15:45:18 UTC 2015


Author: sunpoet
Date: Wed Mar 25 15:45:16 2015
New Revision: 382240
URL: https://svnweb.freebsd.org/changeset/ports/382240
QAT: https://qat.redports.org/buildarchive/r382240/

Log:
  - Update USE_BDB
  - Use -lpthread instead of -pthread
  - Cleanup -lpthread/-pthread manipulation

Modified:
  head/databases/p5-BDB/Makefile

Modified: head/databases/p5-BDB/Makefile
==============================================================================
--- head/databases/p5-BDB/Makefile	Wed Mar 25 15:45:06 2015	(r382239)
+++ head/databases/p5-BDB/Makefile	Wed Mar 25 15:45:16 2015	(r382240)
@@ -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>


More information about the svn-ports-head mailing list