Module Name: src
Committed By: martin
Date: Sun Oct 13 15:12:59 UTC 2024
Modified Files:
src [netbsd-10]: build.sh
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #964):
build.sh: revision 1.378
build.sh: revision 1.379
build.sh: Check for xsrc/Makefile, not just xsrc/.
Should make the failure mode a little more obvious when you forget to
mount xsrc.
PR toolchain/58399
build.sh: Adjust xsrc existence test as requested.
PR toolchain/58399
To generate a diff of this commit:
cvs rdiff -u -r1.365.2.2 -r1.365.2.3 src/build.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/build.sh
diff -u src/build.sh:1.365.2.2 src/build.sh:1.365.2.3
--- src/build.sh:1.365.2.2 Mon Sep 11 14:41:51 2023
+++ src/build.sh Sun Oct 13 15:12:59 2024
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.365.2.2 2023/09/11 14:41:51 martin Exp $
+# $NetBSD: build.sh,v 1.365.2.3 2024/10/13 15:12:59 martin Exp $
#
# Copyright (c) 2001-2022 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1542,7 +1542,7 @@ sanitycheck()
while [ ${MKX11-no} = "yes" ]; do # not really a loop
test -n "${X11SRCDIR}" && {
- test -d "${X11SRCDIR}" ||
+ test -d "${X11SRCDIR}/external" ||
bomb "X11SRCDIR (${X11SRCDIR}) does not exist (with -x)"
break
}
@@ -1551,7 +1551,7 @@ sanitycheck()
"${NETBSDSRCDIR}/xsrc" \
/usr/xsrc
do
- test -d "${_xd}" &&
+ test -f "${_xd}/Makefile" &&
setmakeenv X11SRCDIR "${_xd}" &&
break 2
done
@@ -2010,7 +2010,7 @@ createmakewrapper()
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.365.2.2 2023/09/11 14:41:51 martin Exp $
+# Generated from: \$NetBSD: build.sh,v 1.365.2.3 2024/10/13 15:12:59 martin Exp $
# with these arguments: ${_args}
#