aboutsummaryrefslogtreecommitdiffstats
path: root/security/nss
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-02-01 05:06:48 +0800
committeradamw <adamw@FreeBSD.org>2004-02-01 05:06:48 +0800
commit403e2a4ed8ae702de2bdfebb441c55c9a3d523a7 (patch)
tree1844f4fce8b7124c3befe1de58bc3d0fc3f91090 /security/nss
parentcd2c5b1691632e9a93025f3335905c9cb37af40a (diff)
downloadfreebsd-ports-gnome-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.tar.gz
freebsd-ports-gnome-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.tar.zst
freebsd-ports-gnome-403e2a4ed8ae702de2bdfebb441c55c9a3d523a7.zip
Use ${PTHREAD_LIBS}.
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index d5914143e275..bcc9383f39e7 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 - . | \