Subject: install/24949: ./build.sh stops when MANINSTALL has only catinstall.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nakayama@netbsd.org>
List: netbsd-bugs
Date: 03/28/2004 20:07:29
>Number: 24949
>Category: install
>Synopsis: ./build.sh stops when MANINSTALL has only catinstall.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Mar 28 11:08:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Takeshi Nakayama
>Release: NetBSD-current [2004-03-28]
>Organization:
Private
>Environment:
>Description:
I prefer to install only catman pages for save disk and cpu
usage. So my /etc/mk.conf contains MANINSTALL=catinstall.
In this case ./build.sh stops at the checkflist stage since
nroff man pages isn't installed.
>How-To-Repeat:
Put MANINSTALL=catinstall in /etc/mk.conf, then do ./build.sh.
>Fix:
The following patch is a quick hack for this problem.
Index: distrib/sets/sets.subr
===================================================================
RCS file: /cvsroot/src/distrib/sets/sets.subr,v
retrieving revision 1.32
diff -u -d -r1.32 sets.subr
--- distrib/sets/sets.subr 17 Mar 2004 20:32:02 -0000 1.32
+++ distrib/sets/sets.subr 28 Mar 2004 10:36:07 -0000
@@ -40,6 +40,7 @@
MKKERBEROS4 \
MKLINT \
MKMAN \
+ MKMANPAGES \
MKMANZ \
MKNLS \
MKPIC \
@@ -58,6 +59,9 @@
for x in $(
${MAKE:-make} -B -f- all <<EOMAKE
.include <bsd.own.mk>
+.if (\${MKMAN} == "no" || empty(\${MANINSTALL:Mmaninstall}))
+MKMANPAGES=no
+.endif
all:
.for i in MACHINE MACHINE_ARCH MACHINE_CPU \
HAVE_GCC3 OBJECT_FMT TOOLCHAIN_MISSING \
@@ -182,7 +186,7 @@
}
if ("catpages" in wanted)
wanted[".cat"] = 1
- if ("man" in wanted)
+ if ("manpages" in wanted)
wanted[".man"] = 1
}
}
>Release-Note:
>Audit-Trail:
>Unformatted: