diff options
author | adamw <adamw@FreeBSD.org> | 2004-01-31 21:06:48 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-01-31 21:06:48 +0000 |
commit | 403e2a4ed8ae702de2bdfebb441c55c9a3d523a7 (patch) | |
tree | 1844f4fce8b7124c3befe1de58bc3d0fc3f91090 /security | |
parent | cd2c5b1691632e9a93025f3335905c9cb37af40a (diff) | |
download | FreeBSD-ports-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.zip FreeBSD-ports-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.tar.gz |
Use ${PTHREAD_LIBS}.
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index d591414..bcc9383 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -23,6 +23,7 @@ USE_PERL5_BUILD= yes INSTALLS_SHLIB= yes USE_GMAKE= yes USE_PERL5_BUILD=yes +USE_REINPLACE= yes MAKE_ENV= BSD_LDOPTS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \ BUILD_OPT=1 ALL_TARGET= nss_build_all @@ -32,6 +33,10 @@ DIST= ${WRKSRC}/../../dist CONFLICTS= btoa-5.* digest-* emboss-2.4.* oases-2.* p5-PAR-0.* +post-patch: + @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" \ + ${WRKSRC}/../../security/coreconf/FreeBSD.mk + do-install: ${MKDIR} ${PREFIX}/include/nss ${TAR} -C ${DIST}/public --dereference -cf - . | \ |