diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-18 22:35:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-18 22:35:05 +0000 |
commit | ad17b0ef6a1fdda03be77aa26958f360b386dd55 (patch) | |
tree | 7917e11b987439fe675602802444d7cbb14b4648 /lang | |
parent | 7846da37d4e1084231c41ceda11a009689799c9f (diff) | |
download | pkgsrc-ad17b0ef6a1fdda03be77aa26958f360b386dd55.tar.gz |
Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
Build Perl without threads-support until VAX native threads are known
to work. The hack was added to the Makefile instead of to hacks.mk
since it sets a variable which is used within the package Makefile.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl58/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile index 7913318d03a..285cd321e56 100644 --- a/lang/perl58/Makefile +++ b/lang/perl58/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2004/12/15 14:57:58 wiz Exp $ +# $NetBSD: Makefile,v 1.67 2004/12/18 22:35:05 jlam Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -138,6 +138,17 @@ PERL5_HINTS_LDFLAGS+= ${LOCLIBRPATHFLAGS} .include "../../mk/dlopen.buildlink3.mk" PERL5_USE_THREADS?= ${DLOPEN_REQUIRE_PTHREADS} + +### [Sat Dec 18 17:29:44 EST 2004 : jlam] +### Native threading on VAX isn't ready for primetime in NetBSD>=2.0. +### Build Perl without threads-support until VAX native threads are +### known to work. +### +.if !empty(MACHINE_PLATFORM:MNetBSD-*-vax) +PKG_HACKS+= broken-vax-pthreads +PERL5_USE_THREADS= no +.endif + .if !empty(PERL5_USE_THREADS:M[nN][oO]) CONFIGURE_ARGS+= -Uuseithreads .else |