summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-10-19 10:36:59 +0000
committerjperkin <jperkin@pkgsrc.org>2022-10-19 10:36:59 +0000
commit08bd7e95668138a73b058a7c71e109248a66b999 (patch)
treef2578f85de1a3dbfe07a49c340c960d65e4adc9c
parent84fee5b944518b3c77be78108f12bb5e2e56f3bc (diff)
downloadpkgsrc-08bd7e95668138a73b058a7c71e109248a66b999.tar.gz
gtk3: Default to xquartz if available on macOS.
The x11 option does not currently work due to cairo:xlib.
-rw-r--r--x11/gtk3/options.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/gtk3/options.mk b/x11/gtk3/options.mk
index d228ded974c..2365869960c 100644
--- a/x11/gtk3/options.mk
+++ b/x11/gtk3/options.mk
@@ -1,16 +1,19 @@
-# $NetBSD: options.mk,v 1.23 2022/08/11 05:11:40 gutteridge Exp $
+# $NetBSD: options.mk,v 1.24 2022/10/19 10:36:59 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk3
PKG_SUPPORTED_OPTIONS+= gtk3-atk-bridge cups debug
PKG_SUPPORTED_OPTIONS+= wayland x11
.if exists(/System/Library/Frameworks/Quartz.framework)
PKG_SUPPORTED_OPTIONS+= quartz
+PKG_SUGGESTED_OPTIONS+= quartz
+.else
+PKG_SUGGESTED_OPTIONS+= x11
.endif
.include "../../devel/wayland/platform.mk"
.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
PKG_SUGGESTED_OPTIONS+= wayland
.endif
-PKG_SUGGESTED_OPTIONS+= gtk3-atk-bridge x11 cups
+PKG_SUGGESTED_OPTIONS+= gtk3-atk-bridge cups
.include "../../mk/bsd.options.mk"