summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-18 22:35:05 +0000
committerjlam <jlam@pkgsrc.org>2004-12-18 22:35:05 +0000
commiteb18c312122dd137b3600a51bc7d199c4ae8ba52 (patch)
tree7917e11b987439fe675602802444d7cbb14b4648 /lang
parent605322837e5a48b8aecb1b67fc64f883ffa63ba1 (diff)
downloadpkgsrc-eb18c312122dd137b3600a51bc7d199c4ae8ba52.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/Makefile13
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