Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets convert make's HAVE_MESA_VER into mesa_ver for ...



details:   https://anonhg.NetBSD.org/src/rev/f4ba787d56a5
branches:  trunk
changeset: 997494:f4ba787d56a5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 10 11:04:08 2019 +0000

description:
convert make's HAVE_MESA_VER into mesa_ver for set lists

diffstat:

 distrib/sets/Makefile  |  5 ++++-
 distrib/sets/mkvars.mk |  3 ++-
 distrib/sets/sets.subr |  8 ++++++--
 3 files changed, 12 insertions(+), 4 deletions(-)

diffs (72 lines):

diff -r 2674854b22b3 -r f4ba787d56a5 distrib/sets/Makefile
--- a/distrib/sets/Makefile     Sun Mar 10 11:02:46 2019 +0000
+++ b/distrib/sets/Makefile     Sun Mar 10 11:04:08 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.106 2018/10/01 09:47:34 martin Exp $
+#      $NetBSD: Makefile,v 1.107 2019/03/10 11:04:08 mrg Exp $
 
 # Experimental RCS METALOG versioning
 # (Needs host's rcs(1) commands)
@@ -74,6 +74,9 @@
 print_have_xorg_server_ver: .PHONY
        @echo ${HAVE_XORG_SERVER_VER}
 
+print_have_mesa_ver: .PHONY
+       @echo ${HAVE_MESA_VER}
+
 print_have_gcc: .PHONY
        @echo ${HAVE_GCC}
 
diff -r 2674854b22b3 -r f4ba787d56a5 distrib/sets/mkvars.mk
--- a/distrib/sets/mkvars.mk    Sun Mar 10 11:02:46 2019 +0000
+++ b/distrib/sets/mkvars.mk    Sun Mar 10 11:04:08 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mkvars.mk,v 1.35 2018/05/31 05:27:45 mrg Exp $
+# $NetBSD: mkvars.mk,v 1.36 2019/03/10 11:04:08 mrg Exp $
 
 MKEXTRAVARS= \
        MACHINE \
@@ -7,6 +7,7 @@
        HAVE_GCC \
        HAVE_GDB \
        HAVE_XORG_SERVER_VER \
+       HAVE_MESA_VER \
        HAVE_BINUTILS \
        HAVE_LIBGCC_EH \
        HAVE_OPENSSL \
diff -r 2674854b22b3 -r f4ba787d56a5 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Sun Mar 10 11:02:46 2019 +0000
+++ b/distrib/sets/sets.subr    Sun Mar 10 11:04:08 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sets.subr,v 1.184 2018/04/12 11:49:04 nakayama Exp $
+#      $NetBSD: sets.subr,v 1.185 2019/03/10 11:04:08 mrg Exp $
 #
 
 #
@@ -180,7 +180,7 @@
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-#      # $NetBSD: sets.subr,v 1.184 2018/04/12 11:49:04 nakayama Exp $
+#      # $NetBSD: sets.subr,v 1.185 2019/03/10 11:04:08 mrg Exp $
 #      .                       base-sys-root   [keyword[,...]]
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root
@@ -215,6 +215,7 @@
 #      gdb=<n>                 <n> = value of ${HAVE_GDB}
 #      openssl=<n>             <n> = value of ${HAVE_OPENSSL}
 #      xorg_server_ver=<n>     <n> = value of ${HAVE_XORG_SERVER_VER}
+#      mesa_ver=<n>            <n> = value of ${HAVE_MESA_VER}
 #
 #    2. The USE_<name>:
 #      use_inet6               ${USE_INET6} != no
@@ -310,6 +311,9 @@
                        if ("xorg_server_ver" in wanted) {
                                wanted["xorg_server_ver=" "'"${HAVE_XORG_SERVER_VER}"'"] = 1
                        }
+                       if ("mesa_ver" in wanted) {
+                               wanted["mesa_ver=" "'"${HAVE_MESA_VER}"'"] = 1
+                       }
                        if (("man" in wanted) && ("catpages" in wanted))
                                wanted[".cat"] = 1
                        if (("man" in wanted) && ("manpages" in wanted))



Home | Main Index | Thread Index | Old Index