diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-06-05 05:03:58 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-06-05 05:03:58 +0000 |
commit | 2d06759ab3c248f226265ae9919a4f20e2429c3c (patch) | |
tree | 9b2c49aff7a1122f3322bd980a8ea6c286d0911a /lang/guile14/Makefile | |
parent | 8997a308894b3e295d0f615d4e5b730c2a3f5dcc (diff) | |
download | pkgsrc-2d06759ab3c248f226265ae9919a4f20e2429c3c.tar.gz |
Make this threaded; link libpthread.so in advance and use threaded versions
of libc functions. Otherwise, it dies when libpthread.so is dynamically
loaded by dl_open(3).
Supposed to fix PR21522, Gnucash dies on startup.
Bump revision to 2.
Diffstat (limited to 'lang/guile14/Makefile')
-rw-r--r-- | lang/guile14/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/guile14/Makefile b/lang/guile14/Makefile index 499d1f75926..89e2a4848e9 100644 --- a/lang/guile14/Makefile +++ b/lang/guile14/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2003/06/02 01:19:02 jschauma Exp $ +# $NetBSD: Makefile,v 1.8 2003/06/05 05:03:58 uebayasi Exp $ DISTNAME= guile-1.4.1 PKGNAME= guile14-1.4.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=guile/} @@ -24,9 +24,14 @@ USE_GNU_READLINE= YES INFO_FILES= guile.info +# Link the native thread so that Guile processes won't die when libpthread.so +# is dl_open(3)'ed. +CFLAGS+= ${PTHREAD_CFLAGS} + .include "../../devel/libtool/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" .include "../../devel/readline/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" |