summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-10-03 00:49:11 +0000
committerwiz <wiz@pkgsrc.org>2004-10-03 00:49:11 +0000
commit5a0cb21310c028011cdbcf1da69632bda68c850f (patch)
treecfdca746b99aef5e00ab65383133ac0f0863922c /lang
parent47b2a8b8bff61fd0e2605246a1d45a07bc10facb (diff)
downloadpkgsrc-5a0cb21310c028011cdbcf1da69632bda68c850f.tar.gz
Link the native thread so that Guile processes won't die when
libpthread.so is dl_open(3)'ed. Mirrors a similar commit to guile14. Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 210d25c1d0f..2757b24b2c9 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2004/10/03 00:15:01 tv Exp $
+# $NetBSD: Makefile,v 1.55 2004/10/03 00:49:11 wiz Exp $
DISTNAME= guile-1.6.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=guile/}
@@ -23,6 +23,10 @@ INFO_FILES= guile.info guile-tut.info goops.info r5rs.info
TEST_DIRS= ${WRKSRC}
TEST_TARGET= check
+# Link the native thread so that Guile processes won't die when
+# libpthread.so is dl_open(3)'ed.
+CFLAGS+= ${PTHREAD_CFLAGS}
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
@@ -36,4 +40,5 @@ post-patch:
.include "../../devel/libtool/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"