summaryrefslogtreecommitdiff
path: root/lang/ruby/platform.mk
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-05-07 09:36:16 +0000
committertaca <taca@pkgsrc.org>2022-05-07 09:36:16 +0000
commitf7b870208dd25736f30023ddd16993e91e552cd0 (patch)
tree36d8d413a40b1a88f9fa5b63d6e3af4bf7e62e74 /lang/ruby/platform.mk
parentf68b554b99baef3eb4577ba935fe255534890d1b (diff)
downloadpkgsrc-f7b870208dd25736f30023ddd16993e91e552cd0.tar.gz
lang/ruby31-base: better fix than privious one
Instead of disabling DTrace, process object file yjit.o with "dtrace -G". Bump PKGREVISION.
Diffstat (limited to 'lang/ruby/platform.mk')
-rw-r--r--lang/ruby/platform.mk13
1 files changed, 2 insertions, 11 deletions
diff --git a/lang/ruby/platform.mk b/lang/ruby/platform.mk
index 5aec0a47a84..0886748ff5a 100644
--- a/lang/ruby/platform.mk
+++ b/lang/ruby/platform.mk
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.11 2022/05/04 16:44:53 taca Exp $
+# $NetBSD: platform.mk,v 1.12 2022/05/07 09:36:16 taca Exp $
#
#
@@ -117,19 +117,10 @@ CONFIGURE_ARGS+= --disable-dtrace
#
# NetBSD
#
-# Ruby 3.1 seems to have problem "dtrace -G" on NetBSD 8.
-#
-.if ${RUBY_VER} == 31 && ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M8*)
-CONFIGURE_ARGS+= --disable-dtrace
-.endif
-
-#
-# NetBSD
-#
# NetBSD 8.0 has problem with using static_assert macro.
# This is very ad hoc fix to prevent it.
#
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M8.0*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} == 080000
CFLAGS+= -DRB_AVOID_STATIC_ASSERT
.endif