Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2013 18:20:39 +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: r326676 - head/databases/p5-BDB
Message-ID:  <201309071820.r87IKdP3082328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Sep  7 18:20:39 2013
New Revision: 326676
URL: http://svnweb.freebsd.org/changeset/ports/326676

Log:
  - Remove deprecated PTHREAD_*

Modified:
  head/databases/p5-BDB/Makefile

Modified: head/databases/p5-BDB/Makefile
==============================================================================
--- head/databases/p5-BDB/Makefile	Sat Sep  7 18:18:16 2013	(r326675)
+++ head/databases/p5-BDB/Makefile	Sat Sep  7 18:20:39 2013	(r326676)
@@ -18,7 +18,7 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 PORTSCOUT=	skipv:1.801
 
 CFLAGS+=	-I${BDB_INCLUDE_DIR}
-LDFLAGS+=	${PTHREAD_LIBS}
+LDFLAGS+=	-pthread
 USE_BDB=	43+
 USE_PERL5=	configure
 USES=		perl5
@@ -26,6 +26,6 @@ USES=		perl5
 MAN3=		BDB.3
 
 post-patch:
-	@${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} ${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.PL
+	@${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} -pthread|' ${WRKSRC}/Makefile.PL
 
 .include <bsd.port.mk>



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