Subject: pkg/5687: pkg builds in category give wierd messages
To: None <>
From: Tim Rightnour <>
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
>Originator:     Tim Rightnour
Tim Rightnour    -
>Release:        1.3<NetBSD-current source date>
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

Was doing a build in the archivers directory, and noticed that it
considered archivers/arc to be a category.

rigel# pwd
rigel# make
===> category XF86Setup

This isn't a category, its a package.  This is just a slight annoyance.. 
but what the heck.


cd into a subdir and make

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 

---      Wed Jul  1 08:59:24 1998
+++   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