Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/dri - consistently install symlinks (l...



details:   https://anonhg.NetBSD.org/src/rev/59eacedbd9a7
branches:  trunk
changeset: 335064:59eacedbd9a7
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 23 17:50:42 2014 +0000

description:
- consistently install symlinks (like we do for everything else)
- add missing debug libs

diffstat:

 external/mit/xorg/lib/dri/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r cc3d5cddc41a -r 59eacedbd9a7 external/mit/xorg/lib/dri/Makefile
--- a/external/mit/xorg/lib/dri/Makefile        Tue Dec 23 17:49:59 2014 +0000
+++ b/external/mit/xorg/lib/dri/Makefile        Tue Dec 23 17:50:42 2014 +0000
@@ -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 @@
 
 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 @@
 .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



Home | Main Index | Thread Index | Old Index