pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/imv imv: Use NONEMPTY_SETS for options.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e75dc07baa71
branches:  trunk
changeset: 407982:e75dc07baa71
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 11 16:24:11 2020 +0000

description:
imv: Use NONEMPTY_SETS for options.mk

diffstat:

 graphics/imv/options.mk |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 61b33d6c0d87 -r e75dc07baa71 graphics/imv/options.mk
--- a/graphics/imv/options.mk   Sat Jan 11 16:22:05 2020 +0000
+++ b/graphics/imv/options.mk   Sat Jan 11 16:24:11 2020 +0000
@@ -1,7 +1,10 @@
-# $NetBSD: options.mk,v 1.1 2020/01/11 15:18:46 nia Exp $
+# $NetBSD: options.mk,v 1.2 2020/01/11 16:24:11 nia Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.imv
-PKG_SUPPORTED_OPTIONS= svg wayland x11
+PKG_OPTIONS_VAR=               PKG_OPTIONS.imv
+PKG_SUPPORTED_OPTIONS=         svg
+
+PKG_OPTIONS_NONEMPTY_SETS=     display
+PKG_OPTIONS_SET.display=       wayland x11
 
 .include "../../devel/wayland/platform.mk"
 .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
@@ -27,8 +30,6 @@
 MAKE_FLAGS+=           WINDOWS="wayland"
 .elif !empty(PKG_OPTIONS:Mx11)
 MAKE_FLAGS+=           WINDOWS="x11"
-.else
-PKG_FAIL_REASON+=      "Must select at least one windowing system"
 .endif
 
 .if !empty(PKG_OPTIONS:Mwayland)



Home | Main Index | Thread Index | Old Index