pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Disable dtrace on NetBSD arm. Works around a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4ffe7cd171a
branches:  trunk
changeset: 367333:c4ffe7cd171a
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Tue Aug 29 14:47:35 2017 +0000

description:
Disable dtrace on NetBSD arm. Works around an issue observed on earmv7hf
and NetBSD 8.0_BETA with miniruby getting stuck in an infinite loop while
initializing. Joerg is pretty sure this is the correct fix for now.

diffstat:

 lang/ruby/platform.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 1b6d0637a33d -r c4ffe7cd171a lang/ruby/platform.mk
--- a/lang/ruby/platform.mk     Tue Aug 29 13:40:52 2017 +0000
+++ b/lang/ruby/platform.mk     Tue Aug 29 14:47:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.3 2017/04/23 14:14:04 taca Exp $
+# $NetBSD: platform.mk,v 1.4 2017/08/29 14:47:35 jmcneill Exp $
 #
 
 #
@@ -86,6 +86,15 @@
 .endif
 
 #
+# NetBSD
+#
+# dtrace support can cause problems with miniruby on arm.
+#
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*)
+CONFIGURE_ARGS+=       --disable-dtrace
+.endif
+
+#
 # Solaris
 #
 # fix build with sunpro.



Home | Main Index | Thread Index | Old Index