Source-Changes-HG archive

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

[src/netbsd-1-6]: src/share/mk Pull up revision 1.206 (requested by thorpej i...



details:   https://anonhg.NetBSD.org/src/rev/75837bca02f4
branches:  netbsd-1-6
changeset: 529599:75837bca02f4
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 30 15:31:03 2002 +0000

description:
Pull up revision 1.206 (requested by thorpej in ticket #814):
  If DESTDIR is set, add ${DESTDIR}/usr/libdata to the lint
  library search path.  This works around the problem of lint
  using the wrong lint libraries until a "lint -d ..."
  equivalent is implemented for libraries.

diffstat:

 share/mk/bsd.lib.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 75b02c92ac58 -r 75837bca02f4 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Sat Nov 30 15:27:33 2002 +0000
+++ b/share/mk/bsd.lib.mk       Sat Nov 30 15:31:03 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.203 2002/05/07 02:06:32 eeh Exp $
+#      $NetBSD: bsd.lib.mk,v 1.203.2.1 2002/11/30 15:31:03 he Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -397,8 +397,12 @@
 llib-l${LIB}.ln: ${LOBJS}
        @echo building llib-l${LIB}.ln
        @rm -f llib-l${LIB}.ln
+.if defined(DESTDIR)
+       @${LINT} -C${LIB} ${.ALLSRC} -L${DESTDIR}/usr/libdata ${LLIBS}
+.else
        @${LINT} -C${LIB} ${.ALLSRC} ${LLIBS}
 .endif
+.endif
 
 cleanlib:
        rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}



Home | Main Index | Thread Index | Old Index