pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby34



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Mar 24 02:38:30 UTC 2025

Modified Files:
        pkgsrc/lang/ruby34: Makefile

Log Message:
lang/ruby34: Fix build problem on NetBSD 9/i386

On NetBSD/i386 9 with gcc 7.x, it cause error on compiling vm.c
(really vm_exec.c).  Since gcc 8 has no problem, set GCC_REQD to 8.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby34/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/ruby34/Makefile
diff -u pkgsrc/lang/ruby34/Makefile:1.2 pkgsrc/lang/ruby34/Makefile:1.3
--- pkgsrc/lang/ruby34/Makefile:1.2     Sat Mar  1 15:56:52 2025
+++ pkgsrc/lang/ruby34/Makefile Mon Mar 24 02:38:30 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2025/03/01 15:56:52 taca Exp $
+# $NetBSD: Makefile,v 1.3 2025/03/24 02:38:30 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
@@ -28,6 +28,14 @@ FILES_SUBST+=                PKGMANDIR=${PKGMANDIR:Q}
 USE_CC_FEATURES+=      c11
 
 .include "options.mk"
+
+# On NetBSD/i386 9 with gcc 7.x, it cause error on compiling vm.c
+# (really vm_exec.c).
+#
+.if ${MACHINE_PLATFORM:MNetBSD-*-i386}
+GCC_REQD+=     8
+.endif
+
 .include "../../lang/ruby/platform.mk"
 
 .if !empty(RUBY_SUFFIX)



Home | Main Index | Thread Index | Old Index