pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Native threading on VAX isn't ready for pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26734020a071
branches:  trunk
changeset: 485697:26734020a071
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Dec 18 22:35:05 2004 +0000

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

 lang/perl58/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 9e2192c3c9aa -r 26734020a071 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Sat Dec 18 21:47:41 2004 +0000
+++ b/lang/perl58/Makefile      Sat Dec 18 22:35:05 2004 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index