aboutsummaryrefslogtreecommitdiff
path: root/security/nss
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-01-31 21:06:48 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-01-31 21:06:48 +0000
commitd1ca10536b0db4c251648c81e2c02d698112380b (patch)
treecfc9810cb075832654562d516474388ce6c077fa /security/nss
parent498335c9b6c7580806980d3193a8b98149ae687b (diff)
downloadports-d1ca10536b0db4c251648c81e2c02d698112380b.tar.gz
ports-d1ca10536b0db4c251648c81e2c02d698112380b.zip
Notes
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 - . | \