Source-Changes-HG archive

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

[src/trunk]: src/share/mk export HAVE_MESA_VER for use in makefiles and set l...



details:   https://anonhg.NetBSD.org/src/rev/7526f3dd244e
branches:  trunk
changeset: 449535:7526f3dd244e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 10 11:02:46 2019 +0000

description:
export HAVE_MESA_VER for use in makefiles and set lists.

diffstat:

 share/mk/bsd.own.mk |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r e463f94cb8f5 -r 7526f3dd244e share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Mar 10 10:51:58 2019 +0000
+++ b/share/mk/bsd.own.mk       Sun Mar 10 11:02:46 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1110 2019/03/10 02:29:52 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.1111 2019/03/10 11:02:46 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -1436,7 +1436,7 @@
        FS ICE SM X11 XScrnSaver XTrap Xau Xcomposite Xcursor Xdamage \
        Xdmcp Xevie Xext Xfixes Xfont Xfont2 Xft Xi Xinerama Xmu Xpresent Xpm \
        Xrandr Xrender Xres Xt Xtst Xv XvMC Xxf86dga Xxf86misc Xxf86vm drm \
-       epoxy fontenc xkbfile xkbui Xaw pciaccess xcb xshmfence \
+       epoxy fontenc vdpau xkbfile xkbui Xaw pciaccess xcb xshmfence \
        pthread-stubs
 X11SRCDIR.${_lib}?=            ${X11SRCDIRMIT}/lib${_lib}/dist
 .endfor
@@ -1467,7 +1467,12 @@
 .endif
 
 # MesaLib.old and MesaLib7 go together, and MesaLib is alone.
+HAVE_MESA_VER?=        10
+.if ${HAVE_MESA_VER} == "10"
 EXTERNAL_MESALIB_DIR?= MesaLib.old
+.else
+EXTERNAL_MESALIB_DIR?= MesaLib
+.endif
 
 .if ${HAVE_XORG_SERVER_VER} == "120"
 XORG_SERVER_SUBDIR?=xorg-server



Home | Main Index | Thread Index | Old Index