summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-09-24 07:15:14 +0000
committerwiz <wiz@pkgsrc.org>2022-09-24 07:15:14 +0000
commitd176781274988135104edf1015f57585961299b5 (patch)
tree5d4d8a40839475ed7ac6e876c9850e56a295bb04
parent02ce1292ebca386d1392d1436b1557f506675be5 (diff)
downloadpkgsrc-d176781274988135104edf1015f57585961299b5.tar.gz
cairo: if quartz is found, prefer it to x11
(cairo-quartz is needed by gtk4)
-rw-r--r--graphics/cairo/options.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/cairo/options.mk b/graphics/cairo/options.mk
index fdb4a51f356..397735d9533 100644
--- a/graphics/cairo/options.mk
+++ b/graphics/cairo/options.mk
@@ -1,11 +1,14 @@
-# $NetBSD: options.mk,v 1.21 2021/05/25 09:08:10 thor Exp $
+# $NetBSD: options.mk,v 1.22 2022/09/24 07:15:14 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cairo
PKG_SUPPORTED_OPTIONS= x11 xcb
.if exists(/System/Library/Frameworks/Quartz.framework)
PKG_SUPPORTED_OPTIONS+= quartz
+PKG_SUGGESTED_OPTIONS+= quartz
+.else
+PKG_SUGGESTED_OPTIONS= x11
.endif
-PKG_SUGGESTED_OPTIONS= x11 xcb
+PKG_SUGGESTED_OPTIONS+= xcb
.include "../../mk/bsd.options.mk"