summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-28 17:26:59 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-28 17:26:59 +0000
commite7f87bb0887686ba8b5ab4ee1a5ecbe08d56903d (patch)
treed841d106a1e7e7f3e45b42fc64c7c713fbbae83d
parent5f49d5174a6d79709418cfd62bce17a6d5fe81e0 (diff)
downloadpkgsrc-e7f87bb0887686ba8b5ab4ee1a5ecbe08d56903d.tar.gz
Set PTHREAD_LIB to allow NSPR detection to work e.g. on DragonFly.
-rw-r--r--chat/gaim-encryption/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/chat/gaim-encryption/Makefile b/chat/gaim-encryption/Makefile
index efd4e72a88f..a3280463298 100644
--- a/chat/gaim-encryption/Makefile
+++ b/chat/gaim-encryption/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:29:02 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2006/03/28 17:26:59 joerg Exp $
DISTNAME= gaim-encryption-2.38
PKGREVISION= 2
@@ -23,6 +23,9 @@ CONFIGURE_ARGS+= --with-nspr-libs=${BUILDLINK_PREFIX.nspr}/lib
CONFIGURE_ARGS+= --with-nss-includes=${BUILDLINK_PREFIX.nss}/include/nss/nss
CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib
+PTHREAD_LIB= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+CONFIGURE_ENV+= PTHREAD_LIB=${PTHREAD_LIB:Q}
+
.include "../../chat/gaim/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"