Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2015 15:45:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382240 - head/databases/p5-BDB
Message-ID:  <201503251545.t2PFjHMg045769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503251545.t2PFjHMg045769>