NetBSD Problem Report #1371
From gnats Fri Aug 18 05:27:49 1995
Received: from cis-ts4-slip4.cis.brown.edu (root@cis-ts4-slip4.cis.brown.edu [128.148.19.75]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id FAA11366 for <gnats-bugs@gnats.netbsd.org>; Fri, 18 Aug 1995 05:27:46 -0400
Message-Id: <199508180928.FAA16372@cis-ts4-slip4.cis.brown.edu>
Date: Fri, 18 Aug 1995 05:28:06 -0400
From: Mark_Weaver@brown.edu
Reply-To: Mark_Weaver@brown.edu
To: gnats-bugs@gnats.netbsd.org
Subject: Missing -I in libterm Makefile
X-Send-Pr-Version: 3.2
>Number: 1371
>Category: lib
>Synopsis: Missing -I in libterm Makefile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: mhw
>Arrival-Date: Fri Aug 18 05:35:06 +0000 1995
>Closed-Date: Wed Apr 24 21:27:56 +0000 1996
>Last-Modified: Thu Apr 25 01:29:22 +0000 1996
>Originator: Mark Weaver
>Release: NetBSD-current 8/11/95
>Organization:
Brown University Department of Computer Science
>Environment:
NetBSD cis-ts4-slip4.cis.brown.edu 1.0A NetBSD 1.0A (WEAVER) #0: Fri Aug 11 19:26:06 EDT 1995 mhw@cis-ts4-slip9.cis.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER i386
>Description:
CFLAGS in the libterm Makefile should have "-I${.CURDIR}/../libcurses"
since termcap.c includes curses.h. Otherwise it will use a possibly
out-of-date curses.h which was last installed in /usr/include.
>How-To-Repeat:
>Fix:
diff -u src/lib/libterm/Makefile.mhw1 src/lib/libterm/Makefile
--- src/lib/libterm/Makefile.mhw1 Wed Mar 1 22:21:28 1995
+++ src/lib/libterm/Makefile Mon Jul 17 21:28:44 1995
@@ -2,7 +2,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB= termcap
-CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
+CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D -I${.CURDIR}/../libcurses
SRCS= termcap.c tgoto.c tputs.c
MAN= termcap.3
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended
State-Changed-By: jtc
State-Changed-When: Wed Aug 23 21:05:25 1995
State-Changed-Why:
libterm/libcurses are to be replaced with ncurses real soon now.
State-Changed-From-To: suspended->closed
State-Changed-By: jtc
State-Changed-When: Wed Apr 24 21:27:56 1996
State-Changed-Why:
libterm/libcurses have not been replaced with ncurses (yet!); but
curses.h is now installed by the new "includes" make target that
should be run early in the build process (after make obj; before
make depend).
>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.