Subject: pkg/5687: pkg builds in category give wierd messages
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 07/01/1998 10:40:16
>Number: 5687
>Category: pkg
>Synopsis: pkg builds in category give wierd messages
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 1 10:35:01 1998
>Last-Modified:
>Originator: Tim Rightnour
>Organization:
Tim Rightnour - root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release: 1.3<NetBSD-current source date>
>Environment:
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386
>Description:
Was doing a build in the archivers directory, and noticed that it
considered archivers/arc to be a category.
rigel# pwd
/usr/src/current/pkgsrc/x11
rigel# make
===> category XF86Setup
This isn't a category, its a package. This is just a slight annoyance..
but what the heck.
>How-To-Repeat:
cd into a subdir and make
>Fix:
I've included a uuencode that gets the tabs right, but I'm not sure this
patch is acceptable. I'm relying on the fact that a subdir (where the
pkg actualy resides) will contain a files dir. Checking all 334 pkgs we
currently have in our tree, each one has the appropriate directory.
Worst case, a pkg doesn't have one, it will just think its a category and
print the wrong message, and continue on it's merry way. I don't see a
way to do this without either doing alot of checks, having a category
list, or something else that's just a bit overkill for a silly little
message.
--- bsd.pkg.subdir.mk.orig Wed Jul 1 08:59:24 1998
+++ bsd.pkg.subdir.mk Wed Jul 1 09:13:49 1998
@@ -68,3 +68,3 @@
cd ${.CURDIR}/$${edir}; \
- if [ -z "${_THISDIR_}" ]; then \
+ if [ -z "${_THISDIR_}" -a ! -d "files" ]; then \
${ECHO_MSG} "===> category ${_THISDIR_}$${edir}"; \
begin 644 patch
M+2TM(&)S9"YP:V<N<W5B9&ER+FUK+F]R:6<)5V5D($IU;"`@,2`P.#HU.3HR
M-"`Q.3DX"BLK*R!B<V0N<&MG+G-U8F1I<BYM:PE7960@2G5L("`Q(#`Y.C$S
M.C0Y(#$Y.3@*0$`@+38X+#,@*S8X+#,@0$`*(`D)"6-D("1[+D-54D1)4GTO
M)"1[961I<GT[(%P*+0D)"6EF(%L@+7H@(B1[7U1(25-$25)??2(@73L@=&AE
M;B!<"BL)"0EI9B!;("UZ("(D>U]42$E31$E27WTB("UA("$@+60@(F9I;&5S
M(B!=.R!T:&5N(%P*(`D)"0DD>T5#2$]?35-'?2`B/3T]/B!C871E9V]R>2`D
8>U]42$E31$E27WTD)'ME9&ER?2([(%P*
`
end
>Audit-Trail:
>Unformatted: