pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2023Q1] pkgsrc/lang/ruby32-base



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Wed Apr 12 17:28:54 UTC 2023

Modified Files:
        pkgsrc/lang/ruby32-base [pkgsrc-2023Q1]: options.mk

Log Message:
Pullup ticket #6750 - requested by taca
lang/ruby32-base: build fix

Revisions pulled up:
- lang/ruby32-base/options.mk                                   1.2

---
   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.1.2.1 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.1.2.1
--- pkgsrc/lang/ruby32-base/options.mk:1.1      Sat Jan 21 13:51:23 2023
+++ pkgsrc/lang/ruby32-base/options.mk  Wed Apr 12 17:28:54 2023
@@ -1,8 +1,14 @@
-# $NetBSD: options.mk,v 1.1 2023/01/21 13:51:23 taca Exp $
+# $NetBSD: options.mk,v 1.1.2.1 2023/04/12 17:28:54 bsiegert 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