pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Move Haiku pthread hack to options.mk.
details: https://anonhg.NetBSD.org/pkgsrc/rev/399ef9d7ee74
branches: trunk
changeset: 635380:399ef9d7ee74
user: obache <obache%pkgsrc.org@localhost>
date: Wed Jun 04 09:19:56 2014 +0000
description:
Move Haiku pthread hack to options.mk.
"pthreads broken on vax" hack had been removed, but it is also used for Haiku.
diffstat:
lang/perl5/hacks.mk | 11 +----------
lang/perl5/options.mk | 9 ++++++++-
2 files changed, 9 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r b2198d36ca10 -r 399ef9d7ee74 lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk Wed Jun 04 06:09:44 2014 +0000
+++ b/lang/perl5/hacks.mk Wed Jun 04 09:19:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.12 2014/05/29 07:57:07 adam Exp $
+# $NetBSD: hacks.mk,v 1.13 2014/06/04 09:19:56 obache Exp $
.if !defined(PERL5_HACKS_MK)
PERL5_HACKS_MK= defined
@@ -64,15 +64,6 @@
BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os
.endif
-### [Thr Mar 21 22:20:00 JST 2013 : obache]
-### from KNOWN PROBLEMS in README.haiku
-### Perl cannot be compiled with threading support ATM.
-###
-.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
-PKG_HACKS+= broken-haiku-pthreads
-PERL5_BUILD_THREADS_SUPPORT= no
-.endif
-
### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
### gcc-4.*.* in NetBSD/alpha causes unaligned access exception in perl.
### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
diff -r b2198d36ca10 -r 399ef9d7ee74 lang/perl5/options.mk
--- a/lang/perl5/options.mk Wed Jun 04 06:09:44 2014 +0000
+++ b/lang/perl5/options.mk Wed Jun 04 09:19:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2014/05/22 08:17:10 martin Exp $
+# $NetBSD: options.mk,v 1.8 2014/06/04 09:19:56 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.perl
PKG_OPTIONS_REQUIRED_GROUPS= perlbits
@@ -16,6 +16,13 @@
PERL5_BUILD_THREADS_SUPPORT= ${DLOPEN_REQUIRE_PTHREADS}
.endif
+### from KNOWN PROBLEMS in README.haiku
+### Perl cannot be compiled with threading support ATM.
+###
+.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
+PERL5_BUILD_THREADS_SUPPORT= no
+.endif
+
.if !empty(PERL5_BUILD_THREADS_SUPPORT:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS= threads
.endif
Home |
Main Index |
Thread Index |
Old Index