Subject: Re: pkgsrc error in package ispell-base
To: A. L. Meyers <almeyers@consult-meyers.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/08/2004 08:11:33
On 7 Mar 2004, A. L. Meyers wrote:

> Here is the consistent error when trying to make ispell-base:

> term.c: In function `terminit':
> term.c:323: error: `TIOCGETP' undeclared (first use in this function)
> term.c:323: error: (Each undeclared identifier is reported only once
> term.c:323: error: for each function it appears in.)
> term.c:329: error: `sbuf' has an incomplete type
> term.c:330: error: invalid use of undefined type `struct sgttyb'
> term.c:330: error: `ECHO' undeclared (first use in this function)
> term.c:331: error: invalid use of undefined type `struct sgttyb'
> term.c:331: error: `CBREAK' undeclared (first use in this function)
...


This can use libtermcap. No one has packaged libtermcap yet.

Alternatively, this can use [n]curses.

Try using as the second to last line in the Makefile:

.include "../../mk/curses.buildlink2.mk"

   Jeremy C. Reed
   http://bsd.reedmedia.net/