pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby33



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan  5 20:04:31 UTC 2026

Modified Files:
        pkgsrc/lang/ruby33: Makefile

Log Message:
ruby33: work around miniruby core dump

Following Gentoo's solution to the same problem.

Bump PKGREVISION just in case.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby33/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby33/Makefile
diff -u pkgsrc/lang/ruby33/Makefile:1.7 pkgsrc/lang/ruby33/Makefile:1.8
--- pkgsrc/lang/ruby33/Makefile:1.7     Sat Jul 26 06:25:23 2025
+++ pkgsrc/lang/ruby33/Makefile Mon Jan  5 20:04:31 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2025/07/26 06:25:23 taca Exp $
+# $NetBSD: Makefile,v 1.8 2026/01/05 20:04:31 wiz Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
+PKGREVISION=   1
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
@@ -39,6 +40,13 @@ CONFIGURE_ARGS+=     --with-ruby-pc="ruby-${
 CONFIGURE_ENV+=                ac_cv_path_MJIT_CC=${CC:Q}
 CONFIGURE_ENV.Darwin+= ac_cv_prog_dsymutil=
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mgcc)
+# work around miniruby coredump, solution from https://bugs.gentoo.org/965095
+CFLAGS+=       -fno-ipa-modref
+.endif
+
 DOCS=          BSDL CONTRIBUTING.md COPYING COPYING.ja ChangeLog GPL \
                KNOWNBUGS.rb LEGAL NEWS.md README.ja.md README.md \
                README.EXT README.EXT.ja



Home | Main Index | Thread Index | Old Index