summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-01-31 21:06:48 +0000
committeradamw <adamw@FreeBSD.org>2004-01-31 21:06:48 +0000
commit403e2a4ed8ae702de2bdfebb441c55c9a3d523a7 (patch)
tree1844f4fce8b7124c3befe1de58bc3d0fc3f91090 /security
parentcd2c5b1691632e9a93025f3335905c9cb37af40a (diff)
downloadFreeBSD-ports-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.zip
FreeBSD-ports-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.tar.gz
Use ${PTHREAD_LIBS}.
Diffstat (limited to 'security')
-rw-r--r--security/nss/Makefile5
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 - . | \
OpenPOWER on IntegriCloud