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/gallium - Don't install absolute symlinks
details: https://anonhg.NetBSD.org/src/rev/cc3d5cddc41a
branches: trunk
changeset: 335063:cc3d5cddc41a
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 23 17:49:59 2014 +0000
description:
- Don't install absolute symlinks
- Add missing debug symlinks
diffstat:
external/mit/xorg/lib/gallium/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 4e27ae30f32d -r cc3d5cddc41a external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile Tue Dec 23 17:48:59 2014 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile Tue Dec 23 17:49:59 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/12/18 06:24:30 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2014/12/23 17:49:59 christos Exp $
# Link the gallium mega driver.
@@ -11,6 +11,7 @@
LIB= gallium_dri
DRIDIR= ${X11USRLIBDIR}/modules/dri
+DRIDEBUGDIR= ${DEBUGDIR}${X11USRLIBDIR}/modules/dri
DRIVERS= kms_swrast swrast
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
@@ -466,8 +467,11 @@
LIBDIR= ${X11USRLIBDIR}/modules/dri
.for _d in ${DRIVERS}
-SYMLINKS+= ${DRIDIR}/gallium_dri.so ${DRIDIR}/${_d}_dri.so
-SYMLINKS+= ${DRIDIR}/gallium_dri.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR}
+SYMLINKS+= gallium_dri.so ${DRIDIR}/${_d}_dri.so
+SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR}
+.if ${MKDEBUG:Uno} == "yes"
+SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHLIB_MAJOR}.debug
+.endif
.endfor
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index