pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cairo cairo: if quartz is found, prefer it to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a34e7d285843
branches:  trunk
changeset: 385681:a34e7d285843
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 24 07:15:14 2022 +0000

description:
cairo: if quartz is found, prefer it to x11

(cairo-quartz is needed by gtk4)

diffstat:

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

diffs (20 lines):

diff -r 52401135e663 -r a34e7d285843 graphics/cairo/options.mk
--- a/graphics/cairo/options.mk Sat Sep 24 07:01:26 2022 +0000
+++ b/graphics/cairo/options.mk Sat Sep 24 07:15:14 2022 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index