NetBSD Problem Report #3325

Received: (qmail-queue invoked from smtpd); 12 Mar 1997 20:30:38 -0000
Message-Id: <199703121909.UAA06186@cyberlap.ira.uka.de>
Date: Wed, 12 Mar 1997 20:09:47 +0100 (CET)
From: frueauf@ira.uka.de
Reply-To: frueauf@ira.uka.de
To: gnats-bugs@gnats.netbsd.org
Subject: douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile
X-Send-Pr-Version: 3.95

>Number:         3325
>Category:       bin
>Synopsis:       douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 12 12:35:02 +0000 1997
>Closed-Date:    Thu Mar 13 23:23:39 +0000 1997
>Last-Modified:  Wed Jun 04 05:49:05 +0000 1997
>Originator:     Thorsten Frueauf
>Release:        <NetBSD-current source date> NetBSD current 12.03.1997
>Organization:
private

>Environment:

System: NetBSD cyberlap 1.2C NetBSD 1.2C (CYBERLAP) #8: Wed Mar 12 12:00:56 CET 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386


>Description:

/src/usr.bin/tn3270/{tn3270,mset}/Makefile contains a "mkdep ${MKDEP}" entry,
which breaks `make depend` in this directory.

>How-To-Repeat:

Try the following:

cd /src/usr.bin/tn3270/tn3270
make cleandir
make depend
cd /src/usr.bin/tn3270/mset
make cleandir
make depend

and watch:

mkdep mkdep -I/usr/src/usr.bin/tn3270/tn3270 -I. -DTERMCAP -DSRCRT -DKLUDGELINEM
ODE -DUSE_TERMIO -DTN3270 -Dunix /usr/src/usr.bin/tn3270/tn3270/../api/apilib.c 
/usr/src/usr.bin/tn3270/tn3270/../api/api_bsd.c /usr/src/usr.bin/tn3270/tn3270/.
./api/api_exch.c /usr/src/usr.bin/tn3270/tn3270/../api/asc_ebc.c /usr/src/usr.bi
n/tn3270/tn3270/../api/dctype.c /usr/src/usr.bin/tn3270/tn3270/../api/ebc_disp.c
 /usr/src/usr.bin/tn3270/tn3270/../ascii/map3270.c /usr/src/usr.bin/tn3270/tn327
0/../ascii/termin.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/api.c /usr/src/usr.bi
n/tn3270/tn3270/../ctlr/function.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/inboun
d.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/oia.c /usr/src/usr.bin/tn3270/tn3270/
../ctlr/options.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/outbound.c /usr/src/usr
.bin/tn3270/tn3270/../general/genbsubs.c /usr/src/usr.bin/tn3270/tn3270/../gener
al/globals.c /usr/src/usr.bin/tn3270/tn3270/../sys_curses/system.c /usr/src/usr.
bin/tn3270/tn3270/../sys_curses/termout.c /usr/src/usr.bin/tn3270/tn3270/../../t
elnet/commands.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/main.c /usr/src/usr
.bin/tn3270/tn3270/../../telnet/network.c /usr/src/usr.bin/tn3270/tn3270/../../t
elnet/ring.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/sys_bsd.c /usr/src/usr.
bin/tn3270/tn3270/../../telnet/telnet.c /usr/src/usr.bin/tn3270/tn3270/../../tel
net/terminal.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/tn3270.c /usr/src/usr
.bin/tn3270/tn3270/../../telnet/utilities.c /usr/src/usr.bin/tn3270/tn3270/../..
/../lib/libtelnet/genget.c
gcc: mkdep: No such file or directory

mkdep mkdep -I/usr/src/usr.bin/tn3270/mset -I. -DTERMCAP -DSRCRT -DKLUDGELINEMOD
E -DUSE_TERMIO -DTN3270 -Dunix /usr/src/usr.bin/tn3270/mset/../ascii/map3270.c /
usr/src/usr.bin/tn3270/mset/../ascii/mset.c
gcc: mkdep: No such file or directory

>Fix:

Apply the following patch:

*** /src/usr.bin/tn3270/tn3270/Makefile-orig	Fri Feb 14 10:52:13 1997
--- /src/usr.bin/tn3270/tn3270/Makefile	Wed Mar 12 19:52:53 1997
***************
*** 95,101 ****

  depend: .depend
  .depend: ${DEPSRCS}
! 	mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}

  .include <bsd.prog.mk>

--- 95,101 ----

  depend: .depend
  .depend: ${DEPSRCS}
! 	 ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}

  .include <bsd.prog.mk>

*** /src/usr.bin/tn3270/mset/Makefile-orig	Tue Jan 14 11:10:02 1997
--- /src/usr.bin/tn3270/mset/Makefile	Wed Mar 12 20:02:07 1997
***************
*** 37,43 ****

  depend: .depend
  .depend: ${DEPSRCS}
! 	mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}

  .include <bsd.prog.mk>

--- 37,43 ----

  depend: .depend
  .depend: ${DEPSRCS}
! 	${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}

  .include <bsd.prog.mk>

>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: mikel
State-Changed-When: Wed Mar 12 20:26:05 1997
State-Changed-Why:
fixed (mostly) as suggested, thanks.

State-Changed-From-To: closed->open 
State-Changed-By: cgd 
State-Changed-When: Thu Mar 13 15:21:26 PST 1997 
State-Changed-Why:  
actually, this was only fixed half-way! 
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Thu Mar 13 15:23:39 PST 1997 
State-Changed-Why:  
_now_ fixed the rest of the way. 
>Unformatted:
 douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.