Module Name: src
Committed By: christos
Date: Tue Dec 23 17:50:43 UTC 2014
Modified Files:
src/external/mit/xorg/lib/dri: Makefile
Log Message:
- consistently install symlinks (like we do for everything else)
- add missing debug libs
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/mit/xorg/lib/dri/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.22 src/external/mit/xorg/lib/dri/Makefile:1.23
--- src/external/mit/xorg/lib/dri/Makefile:1.22 Fri Dec 19 00:21:51 2014
+++ src/external/mit/xorg/lib/dri/Makefile Tue Dec 23 12:50:42 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2014/12/19 05:21:51 christos Exp $
+# $NetBSD: Makefile,v 1.23 2014/12/23 17:50:42 christos Exp $
# Link the mesa_dri_drivers mega driver.
@@ -13,6 +13,7 @@ SHLIB_MAJOR= 0
LIB= mesa_dri_drivers
DRIDIR= ${X11USRLIBDIR}/modules/dri
+DRIDEBUGDIR= ${DEBUGDIR}${X11USRLIBDIR}/modules/dri
# -I${X11SRCDIR.MesaLib}/src/mesa/drivers/dri/${MODULE}/server \
@@ -369,8 +370,11 @@ CPPFLAGS.streaming-load-memcpy.c+= -msse
.include "../driver.mk"
.for _d in ${DRIVERS}
-LINKS+= ${DRIDIR}/mesa_dri_drivers.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR}
+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"
+SYMLINKS+= mesa_dri_drivers.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHLIB_MAJOR}.debug
+.endif
.endfor
.endif