Module Name: src
Committed By: rhialto
Date: Mon Jan 1 20:33:34 UTC 2024
Modified Files:
src/sys/lib/libkern: Makefile.libkern
Log Message:
avoid dependency on NETBSDSRCDIR being set.
(similar to an earlier commit)
due to various things, non-build.sh builds don't have it set already
and it ends up defaulting to /usr/src, so if that doesn't exist or
is the wrong version, building libkern fails.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/lib/libkern/Makefile.libkern
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libkern/Makefile.libkern
diff -u src/sys/lib/libkern/Makefile.libkern:1.53 src/sys/lib/libkern/Makefile.libkern:1.54
--- src/sys/lib/libkern/Makefile.libkern:1.53 Wed Oct 27 03:06:59 2021
+++ src/sys/lib/libkern/Makefile.libkern Mon Jan 1 20:33:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libkern,v 1.53 2021/10/27 03:06:59 ryo Exp $
+# $NetBSD: Makefile.libkern,v 1.54 2024/01/01 20:33:34 rhialto Exp $
#
# Variable definitions for libkern.
@@ -102,7 +102,7 @@ SRCS+= entpool.c
SRCS+= dkcksum.c
SRCS+= disklabel_swap.c
-.PATH: ${NETBSDSRCDIR}/common/lib/libc/cdb
+.PATH: ${.PARSEDIR}/../../../common/lib/libc/cdb
SRCS+= cdbr.c
SRCS+= mi_vector_hash.c