pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby32-base



Module Name:    pkgsrc
Committed By:   he
Date:           Tue Apr  4 12:20:30 UTC 2023

Modified Files:
        pkgsrc/lang/ruby32-base: options.mk

Log Message:
ruby32-base: default to yjit only on platforms supporting it.

That would be x86_64, aarch64 and (possibly) aarch64be.

OK'ed by taca@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ruby32-base/options.mk

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

Modified files:

Index: pkgsrc/lang/ruby32-base/options.mk
diff -u pkgsrc/lang/ruby32-base/options.mk:1.1 pkgsrc/lang/ruby32-base/options.mk:1.2
--- pkgsrc/lang/ruby32-base/options.mk:1.1      Sat Jan 21 13:51:23 2023
+++ pkgsrc/lang/ruby32-base/options.mk  Tue Apr  4 12:20:29 2023
@@ -1,8 +1,14 @@
-# $NetBSD: options.mk,v 1.1 2023/01/21 13:51:23 taca Exp $
+# $NetBSD: options.mk,v 1.2 2023/04/04 12:20:29 he Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ruby
 PKG_SUPPORTED_OPTIONS= ruby-build-ri-db ruby-yjit
-PKG_SUGGESTED_OPTIONS= ruby-build-ri-db ruby-yjit
+PKG_SUGGESTED_OPTIONS= ruby-build-ri-db
+
+.for a in "x86_64" "aarch64" "aarch64eb"
+.  if $a == ${MACHINE_ARCH}
+PKG_SUGGESTED_OPTIONS+=        ruby-yjit
+.  endif
+.endfor
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index