pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk4 gtk4: if quartz is available, prefer it to x11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afa11bed1b8c
branches:  trunk
changeset: 385635:afa11bed1b8c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Sep 22 09:22:21 2022 +0000

description:
gtk4: if quartz is available, prefer it to x11

probably fixes Darwin build

ok adam@

diffstat:

 x11/gtk4/options.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 96c05712e407 -r afa11bed1b8c x11/gtk4/options.mk
--- a/x11/gtk4/options.mk       Thu Sep 22 06:01:07 2022 +0000
+++ b/x11/gtk4/options.mk       Thu Sep 22 09:22:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2021/02/25 09:55:55 ryoon Exp $
+# $NetBSD: options.mk,v 1.2 2022/09/22 09:22:21 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gtk4
 PKG_SUPPORTED_OPTIONS= cups debug
@@ -8,9 +8,12 @@
 
 .if exists(/System/Library/Frameworks/Quartz.framework)
 PKG_OPTIONS_GROUP.gui+=        quartz
+PKG_SUGGESTED_OPTIONS+=        quartz
+.else
+PKG_SUGGESTED_OPTIONS+=        x11
 .endif
 
-PKG_SUGGESTED_OPTIONS+=        cups x11
+PKG_SUGGESTED_OPTIONS+=        cups
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index