Subject: pkg/26925: textproc/ispell-base does not compile on IRIX 5.3
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 09/12/2004 15:23:27
>Number:         26925
>Category:       pkg
>Synopsis:       textproc/ispell-base does not compile on IRIX 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 12 15:24:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
compiling textproc/ispell-base on IRIX 5.3 yields a number of problems:
- although inttypes.h exists, it should not be used because it conflicts with sys/types.h (this is a known issue only on IRIX 5.3)
- termios should be used
- there is no native words file
>How-To-Repeat:

>Fix:
In the Makefile, change the check for -DHAVE_INTTYPES_H to 

.if exists(/usr/include/inttypes.h) && ${LOWER_OPSYS} != "irix5.3"

and move up a few lines .include "../../mk/bsd.prefs.mk" accordingly.

In patch.ak add || defined(__sgi) to the TERMIOS check for term.c

To deal with the words file issue, it seems sufficient to add towards the end of Makefile:

.if !exists(${EXTRADICT})
EXTRADICT=
.endif



>Release-Note:
>Audit-Trail:
>Unformatted: