summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseanb <seanb@pkgsrc.org>2011-11-21 21:33:13 +0000
committerseanb <seanb@pkgsrc.org>2011-11-21 21:33:13 +0000
commit249ef280a18fd9d91b466db3b8eb26927b7b25c4 (patch)
treedba022bcb307accc0ae669759157219d2b438f81
parent0e73e14fc105b837685a6a977f77f3c70218bc87 (diff)
downloadpkgsrc-249ef280a18fd9d91b466db3b8eb26927b7b25c4.tar.gz
Don't hard code -pthread in nspr.pc. Similar to devel/nss/Makefile.
-rw-r--r--devel/nspr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 4602ad89904..6ffae9d63fb 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2011/11/12 12:56:27 tnn Exp $
+# $NetBSD: Makefile,v 1.44 2011/11/21 21:33:13 seanb Exp $
#
.include "../../devel/xulrunner/dist.mk"
@@ -87,7 +87,7 @@ post-build:
${ECHO} "Cflags: -I${PREFIX}/include/nspr"; \
${ECHO} "Libs: -L${PREFIX}/lib/nspr" \
"${COMPILER_RPATH_FLAG}${PREFIX}/lib/nspr" \
- "-lplds4 -lplc4 -lnspr4 -pthread" \
+ "-lplds4 -lplc4 -lnspr4 "${BUILDLINK_LIBS.pthread:Q}; \
) > ${WRKDIR}/nspr.pc
INSTALLATION_DIRS+= lib/pkgconfig