pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc IRIX64 6.5/mipseb bulk build results 2006-01-26



Roland Illig <rillig%NetBSD.org@localhost> wrote:
 
> 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.

I like this.  This way, we can implement different CFLAGS per operating
system to enable c99 capabilities (if necessary on other platforms).

-Jan

-- 
"Drink up. The world's about to end."
"This must be Thursday. I never could get the hang of Thursdays."

Attachment: pgpo7tvbtJT69.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index