Tue Aug 15 10:52:08 2023 UTC ()
emacs29: disable gcc13-libjit option on Darwin-*-aarch64

No support for Darwin's Aarch64 ABI in any GCC major release yet.
It's on it's way but probably not before GCC 15.


(tnn)
diff -r1.3 -r1.4 pkgsrc/editors/emacs29/options.mk

cvs diff -r1.3 -r1.4 pkgsrc/editors/emacs29/options.mk (expand / switch to unified diff)

--- pkgsrc/editors/emacs29/options.mk 2023/08/14 05:13:31 1.3
+++ pkgsrc/editors/emacs29/options.mk 2023/08/15 10:52:08 1.4
@@ -1,37 +1,41 @@ @@ -1,37 +1,41 @@
1# $NetBSD: options.mk,v 1.3 2023/08/14 05:13:31 wiz Exp $ 1# $NetBSD: options.mk,v 1.4 2023/08/15 10:52:08 tnn Exp $
2 2
3### Set options 3### Set options
4PKG_OPTIONS_VAR= PKG_OPTIONS.emacs 4PKG_OPTIONS_VAR= PKG_OPTIONS.emacs
5PKG_SUPPORTED_OPTIONS= dbus gnutls imagemagick jansson libgccjit libotf libwebp svg tree-sitter xaw3d xml 5PKG_SUPPORTED_OPTIONS= dbus gnutls imagemagick jansson libgccjit libotf libwebp svg tree-sitter xaw3d xml
6# xaw3d is only valid with tookit = xaw 6# xaw3d is only valid with tookit = xaw
7 7
8PKG_OPTIONS_OPTIONAL_GROUPS+= window-system 8PKG_OPTIONS_OPTIONAL_GROUPS+= window-system
9PKG_OPTIONS_GROUP.window-system= x11 nextstep 9PKG_OPTIONS_GROUP.window-system= x11 nextstep
10 10
11PKG_OPTIONS_OPTIONAL_GROUPS+= toolkit 11PKG_OPTIONS_OPTIONAL_GROUPS+= toolkit
12PKG_SUGGESTED_OPTIONS.Darwin= nextstep 12PKG_SUGGESTED_OPTIONS.Darwin= nextstep
13# --with-x-toolkit=KIT use an X toolkit (KIT one of: yes or gtk2, 13# --with-x-toolkit=KIT use an X toolkit (KIT one of: yes or gtk2,
14# gtk3, xaw, no) 14# gtk3, xaw, no)
15# gtk in next line implies gtk2, xaw 15# gtk in next line implies gtk2, xaw
16PKG_OPTIONS_GROUP.toolkit= gtk gtk2 gtk3 xaw 16PKG_OPTIONS_GROUP.toolkit= gtk gtk2 gtk3 xaw
17# gtk2 and gtk has the same effect 17# gtk2 and gtk has the same effect
18# gtk3 is default in the logic below (even not included in SUGGESTED_=) 18# gtk3 is default in the logic below (even not included in SUGGESTED_=)
19# gtk* will be ignored for nextstep even shown as selected. 19# gtk* will be ignored for nextstep even shown as selected.
20 20
21# imagemagick is disabled because of stability/security 21# imagemagick is disabled because of stability/security
22# svg is omitted because it is rarely needed and heavyweight due to the rust dependency 22# svg is omitted because it is rarely needed and heavyweight due to the rust dependency
23# xaw3d is omitted because it is only valid with xaw 23# xaw3d is omitted because it is only valid with xaw
24PKG_SUGGESTED_OPTIONS= dbus libgccjit gnutls gtk3 jansson libotf libwebp tree-sitter xml x11 24PKG_SUGGESTED_OPTIONS= dbus gnutls gtk3 jansson libotf libwebp tree-sitter xml x11
 25
 26.if empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
 27PKG_SUGGESTED_OPTIONS+= libgccjit
 28.endif
25 29
26.include "../../mk/bsd.options.mk" 30.include "../../mk/bsd.options.mk"
27 31
28### --- Check window-system independent options first 32### --- Check window-system independent options first
29### 33###
30### Support D-BUS 34### Support D-BUS
31### 35###
32.if !empty(PKG_OPTIONS:Mdbus) 36.if !empty(PKG_OPTIONS:Mdbus)
33. include "../../sysutils/dbus/buildlink3.mk" 37. include "../../sysutils/dbus/buildlink3.mk"
34.else 38.else
35CONFIGURE_ARGS+= --without-dbus 39CONFIGURE_ARGS+= --without-dbus
36.endif 40.endif
37 41