pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/guile Link the native thread so that Guile proces...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d09c3c44199f
branches:  trunk
changeset: 481379:d09c3c44199f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 03 00:49:11 2004 +0000

description:
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:

 lang/guile/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 533d7b3b3ee3 -r d09c3c44199f lang/guile/Makefile
--- a/lang/guile/Makefile       Sun Oct 03 00:46:50 2004 +0000
+++ b/lang/guile/Makefile       Sun Oct 03 00:49:11 2004 +0000
@@ -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 @@
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index