Subject: Re: pkgsrc IRIX64 6.5/mipseb bulk build results 2006-01-26
To: None <pkgsrc-bulk@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bulk
Date: 01/28/2006 03:01:58
Jan Schaumann wrote:
> Package                    Breaks  Maintainer
> - --------------------------------------------------------------
> graphics/netpbm            626     adam@NetBSD.org
> x11/gtk2                   402     jmmv@NetBSD.org
> graphics/xpm               394     mycroft@NetBSD.org
> lang/python23              382     recht@NetBSD.org
> security/heimdal           326     lha@NetBSD.org
> graphics/mng               250     tech-pkg@NetBSD.org
> x11/fltk                   174     jlam@pkgsrc.org
> archivers/gtar-base        170     tech-pkg@NetBSD.org
> net/mDNSResponder          162     tech-pkg@NetBSD.org
> x11/startup-notification   95      tech-pkg@NetBSD.org

gtar-base and startup-notification have ISO C99 problems. I suggest 
that, instead of adding the following four-line code to each of these 
packages, ...

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mmipspro)
CFLAGS+=        -c99
.endif

... the list of LANGUAGES should include c99. Then the above code could 
be abbreviated to

LANGUAGES+=     c99

I expect that more and more packages will need this code, so this really 
helps to keep the package Makefiles small.

Roland