Subject: pkg/28552: [RE-IMPORT] databases/db3 does not compile on IRIX 5.3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <georg.schwarz@netbsd.org>
List: pkgsrc-bugs
Date: 12/05/2004 22:06:00
>Number:         28552
>Category:       pkg
>Synopsis:       [RE-IMPORT] databases/db3 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 Dec 05 22:06:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
databases/db3's configure does not correctly detect the availability of size_t on IRIX 5.3 since it includes both inttypes.h and sys/types.h, which on IRIX 5.3 are known to be incompatible with one another.
>How-To-Repeat:

>Fix:
The following change to Makefile works around the issue:

 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --enable-compat185
 
+.include "../../mk/bsd.prefs.mk"
+.if ${LOWER_OPSYS} == "irix5.3"
+CONFIGURE_ENV+=                ac_cv_header_inttypes_h="no"
+.endif
+
 post-install:
        ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/html/db3