Module Name: src
Committed By: gson
Date: Mon Jan 5 18:51:10 UTC 2015
Modified Files:
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/gallium: Makefile
Log Message:
Test for ${MKDEBUG} using the same construct as in other places, so that
we get consistent behavior when the value is neither "no" nor "yes".
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/gallium/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/dri/Makefile
diff -u src/external/mit/xorg/lib/dri/Makefile:1.25 src/external/mit/xorg/lib/dri/Makefile:1.26
--- src/external/mit/xorg/lib/dri/Makefile:1.25 Mon Jan 5 16:26:48 2015
+++ src/external/mit/xorg/lib/dri/Makefile Mon Jan 5 18:51:10 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2015/01/05 16:26:48 christos Exp $
+# $NetBSD: Makefile,v 1.26 2015/01/05 18:51:10 gson Exp $
# Link the mesa_dri_drivers mega driver.
@@ -372,7 +372,7 @@ CPPFLAGS.streaming-load-memcpy.c+= -msse
.for _d in ${DRIVERS}
SYMLINKS+= mesa_dri_drivers.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR}
SYMLINKS+= ${_d}_dri.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so
-.if ${MKDEBUG:Uno} == "yes"
+.if ${MKDEBUG} != "no"
SYMLINKS+= mesa_dri_drivers.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHLIB_MAJOR}.debug
.endif
.endfor
Index: src/external/mit/xorg/lib/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.4 src/external/mit/xorg/lib/gallium/Makefile:1.5
--- src/external/mit/xorg/lib/gallium/Makefile:1.4 Mon Jan 5 01:34:42 2015
+++ src/external/mit/xorg/lib/gallium/Makefile Mon Jan 5 18:51:10 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/01/05 01:34:42 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2015/01/05 18:51:10 gson Exp $
# Link the gallium mega driver.
@@ -476,7 +476,7 @@ LIBDIR= ${X11USRLIBDIR}/modules/dri
.for _d in ${DRIVERS}
SYMLINKS+= gallium_dri.so ${DRIDIR}/${_d}_dri.so
SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR}
-.if ${MKDEBUG:Uno} == "yes"
+.if ${MKDEBUG} != "no"
SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHLIB_MAJOR}.debug
.endif
.endfor