Subject: bin/3582: typo in usr.sbin/ipf/{ipfilter2netbsd,ipmon/Makefile}; not
To: None <gnats-bugs@gnats.netbsd.org>
From: None <enami@ba2.so-net.or.jp>
List: netbsd-bugs
Date: 05/07/1997 21:46:03
>Number:         3582
>Category:       bin
>Synopsis:       typo in usr.sbin/ipf/{ipfilter2netbsd,ipmon/Makefile}; not .${CURDIR} or ${CURDIR} but ${.CURDIR}.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May  7 06:05:03 1997
>Last-Modified:
>Originator:     enami tsugutomo
>Organization:
	an individual
>Release:        NetBSD-current 1997 May 05
>Environment:
System: NetBSD pavlov.enami.ba2.so-net.or.jp 1.2D NetBSD 1.2D (PAVLOV) #246: Sun May 4 16:37:11 JST 1997 enami@pavlov.enami.ba2.so-net.or.jp:/b/netbsd/kernel/compile/PAVLOV i386


>Description:
	Typo in usr.sbin/ipf/{ipfilter2netbsd,ipmon/Makefile}; there is
	.${CURDIR} or ${CURDIR} are used, but they should be ${.CURDIR}.
>How-To-Repeat:
	% cd /usr/src/usr.sbin/ipf
	% grep '[^.]CURDIR' ipfilter2netbsd ipmon/Makefile 
	ipfilter2netbsd:.PATH: .${CURDIR}/../ipf
	ipmon/Makefile:.PATH: ${CURDIR}/../ipf
	% 
>Fix:
	Here is my fix:

Index: ipfilter2netbsd
===================================================================
RCS file: /a/cvsroot/NetBSD/src/usr.sbin/ipf/ipfilter2netbsd,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ipfilter2netbsd
--- ipfilter2netbsd	1997/05/05 13:38:30	1.1.1.1
+++ ipfilter2netbsd	1997/05/07 12:37:39
@@ -158,7 +158,7 @@
 MAN=	ipmon.8
 CFLAGS+=-DLOGFAC=LOG_LOCAL0 -I${.CURDIR}/../ipf
 
-.PATH: .${CURDIR}/../ipf
+.PATH: ${.CURDIR}/../ipf
 .include <bsd.prog.mk>
 __eof_makefile
 ### end ipmon ###############################
Index: ipmon/Makefile
===================================================================
RCS file: /a/cvsroot/NetBSD/src/usr.sbin/ipf/ipmon/Makefile,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 Makefile
--- Makefile	1997/05/04 13:38:15	1.1.1.5
+++ Makefile	1997/05/07 12:37:12
@@ -4,5 +4,5 @@
 MAN=	ipmon.8
 CFLAGS+=-DLOGFAC=LOG_LOCAL0 -I${.CURDIR}/../ipf
 
-.PATH: ${CURDIR}/../ipf
+.PATH: ${.CURDIR}/../ipf
 .include <bsd.prog.mk>
>Audit-Trail:
>Unformatted: