Subject: lib/1371: Missing -I in libterm Makefile
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/18/1995 05:28:06
>Number:         1371
>Category:       lib
>Synopsis:       Missing -I in libterm Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   mhw
>Arrival-Date:   Fri Aug 18 05:35:06 1995
>Originator:     Mark Weaver
Brown University Department of Computer Science
>Release:        NetBSD-current 8/11/95
NetBSD 1.0A NetBSD 1.0A (WEAVER) #0: Fri Aug 11 19:26:06 EDT 1995 i386

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.


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 -I${.CURDIR}/../libcurses
 SRCS=	termcap.c tgoto.c tputs.c
 MAN=	termcap.3