pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gtk2 gtk2: Default to xquartz if available on macOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a9dff91a363e
branches: trunk
changeset: 386976:a9dff91a363e
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Oct 19 10:36:47 2022 +0000
description:
gtk2: Default to xquartz if available on macOS.
The x11 option does not currently work due to cairo:xlib.
diffstat:
x11/gtk2/options.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r fe3ecfe26e34 -r a9dff91a363e x11/gtk2/options.mk
--- a/x11/gtk2/options.mk Wed Oct 19 10:29:01 2022 +0000
+++ b/x11/gtk2/options.mk Wed Oct 19 10:36:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2019/11/03 09:14:08 rillig Exp $
+# $NetBSD: options.mk,v 1.19 2022/10/19 10:36:47 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk2
PKG_SUPPORTED_OPTIONS= cups debug
@@ -6,8 +6,10 @@
PKG_OPTIONS_GROUP.gdk-target= x11
.if exists(/System/Library/Frameworks/Quartz.framework)
PKG_OPTIONS_GROUP.gdk-target+= quartz
+PKG_SUGGESTED_OPTIONS= quartz
+.else
+PKG_SUGGESTED_OPTIONS= x11
.endif
-PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index