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/47f414a01399
branches:  trunk
changeset: 420523:47f414a01399
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 3a6f29906918 -r 47f414a01399 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