NetBSD Problem Report #674
From gnats Mon Jan 2 00:22:30 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id AAA07415 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 2 Jan 1995 00:22:29 -0800
Message-Id: <199501020822.AAA09438@Reno.Stanford.EDU>
Date: Mon, 2 Jan 1995 00:22:11 -0800
From: jonathan@DSG.Stanford.EDU
Reply-To: jonathan@DSG.Stanford.EDU
To: gnats-bugs@NetBSD.ORG
Subject: makefile bug in src/usr.bin/tn3270/{tn3720,mset}
X-Send-Pr-Version: 3.2
>Number: 674
>Category: bin
>Synopsis: makefile bug in usr.bin/tn3270/{tn3270,mset}
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 02 00:35:02 +0000 1995
>Closed-Date: Mon Jan 02 22:26:46 +0000 1995
>Last-Modified:
>Originator: Jonathan Stone
>Release: NetBSD-current as at 26 Dec 1994
>Organization:
Representing self (not Stanford Distributed Systems Group)
>Environment:
not relevant
System: NetBSD Reno.Stanford.EDU 1.0A NetBSD 1.0A (RENO) #179: Thu Dec 29 15:37:08 PST 1994 jonathan@Reno.Stanford.EDU:/greyhawk/n1/src/NetBSD/src/sys/arch/pmax/compile/RENO pmax
>Description:
Try doing a ``make'' in src/usr.bin/tn3270/tn3280, when
``make obj'' has been done. (I.e,. the directory above has an
obj/ subdirectory, or symlink to an /usr/obj/ tree.
Make will complain that
"../../Makefile.inc", line 1: Need an operator
Fatal errors encountered -- cannot continue
The same problem occurs in tn3270/mset.
(Diagnosis: Going by the mtime that sup left on the Makefiles, and
the RCS header, I'd hazard a guess that cgd goofed here...)
>How-To-Repeat:
See above. In a clean tn32870 source tree, doing ``make obj; make''
should suffice.
>Fix:
The following works for me, in src/usr.bin/tn3270/tn3270.. I make no
guarantee that it's right, I just copied the style in
src/usr.bin/locate/locate/Makefile.
Maybe ``.include "${.CURDIR}/../Makefile.inc"'' would be
stylistcally more correct.
Whatever the appropriate fix is, src/usr.bin/tn3270/mset needs it too.
*** Makefile.DIST Thu Dec 22 04:38:46 1994
--- Makefile Sun Jan 1 23:42:16 1995
***************
*** 1,6 ****
# $Id: Makefile,v 1.11 1994/12/22 12:31:10 cgd Exp $
! .include <../../Makefile.inc>
CFLAGS += -I${.CURDIR} -I.
LDADD += -lcurses -ltermcap -ltelnet -lcrypt
--- 1,6 ----
# $Id: Makefile,v 1.11 1994/12/22 12:31:10 cgd Exp $
! .include "../../Makefile.inc"
CFLAGS += -I${.CURDIR} -I.
LDADD += -lcurses -ltermcap -ltelnet -lcrypt
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Mon Jan 2 14:26:46 PST 1995
State-Changed-Why:
patches (though unnecessary) were applied for the sake of style and robustness.
Not our bug, but that doesn't mean we can't fix it in this case.
>Unformatted:
(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.