Subject: bin/17318: Building "file" attempts to include CVS as a "magic" file.
To: None <gnats-bugs@gnats.netbsd.org>
From: Ian Dall <Ian.Dall@dsto.defence.gov.au>
List: netbsd-bugs
Date: 06/19/2002 17:51:10
>Number:         17318
>Category:       bin
>Synopsis:       Building "file" attempts to include CVS as a "magic" file.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 01:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ian Dall
>Release:        NetBSD 1.5ZC
>Organization:
private
>Environment:
	
	
System: NetBSD gateway.beware.dropbear.id.au 1.5ZC NetBSD 1.5ZC (SIBYL) #2: Sat Jun 15 00:22:45 CST 2002 ian@sibyl.beware.dropbear.id.au:/usr1/local/src/netbsd/src/sys/arch/pc532/compile/SIBYL pc532
Architecture: ns32k
Machine: pc532
>Description:
	
Building "file" attempts to include CVS as a "magic" file.
>How-To-Repeat:
	
>Fix:
	
Index: netbsd/src/usr.bin/file/Makefile
diff -c netbsd/src/usr.bin/file/Makefile:1.1.1.5 netbsd/src/usr.bin/file/Makefile:1.3
*** netbsd/src/usr.bin/file/Makefile:1.1.1.5	Wed Jun 12 11:55:57 2002
--- netbsd/src/usr.bin/file/Makefile	Wed Jun 12 15:01:22 2002
***************
*** 28,34 ****
  MAGFILES=	${.CURDIR}/Header \
  		${.CURDIR}/Localstuff \
  		${.CURDIR}/magdir/netbsd \
! 		${MAGDIRF}
  
  .if ${MKSHARE} != "no"
  magic:		${MAGFILES}
--- 28,34 ----
  MAGFILES=	${.CURDIR}/Header \
  		${.CURDIR}/Localstuff \
  		${.CURDIR}/magdir/netbsd \
! 		${MAGDIRF:N*/CVS}
  
  .if ${MKSHARE} != "no"
  magic:		${MAGFILES}
>Release-Note:
>Audit-Trail:
>Unformatted: