pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: probably makes more sense to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6095268f3262
branches:  trunk
changeset: 346844:6095268f3262
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 04 01:53:55 2020 +0000

description:
MesaLib: probably makes more sense to check wayland here

diffstat:

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

diffs (30 lines):

diff -r e8e385a6a5ea -r 6095268f3262 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Sat Jan 04 01:52:23 2020 +0000
+++ b/graphics/MesaLib/options.mk       Sat Jan 04 01:53:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $
+# $NetBSD: options.mk,v 1.79 2020/01/04 01:53:55 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 
@@ -8,16 +8,14 @@
 
 .if ${MESALIB_SUPPORTS_DRI} == "yes"
 PKG_SUPPORTED_OPTIONS+=                wayland
+.  include "../../devel/wayland/platform.mk"
+.  if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+=                wayland
+.  endif
 .endif
 
 PKG_SUGGESTED_OPTIONS+=                x11
 
-.include "../../devel/wayland/platform.mk"
-
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
-PKG_SUGGESTED_OPTIONS+=                wayland
-.endif
-
 # The LLVM option enables JIT accelerated software rendering and is also
 # required to support the latest RADEON GPUs.
 #



Home | Main Index | Thread Index | Old Index