Subject: Re: pkgsrc IRIX64 6.5/mipseb bulk build results 2006-01-26
To: None <pkgsrc-bulk@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-bulk
Date: 01/28/2006 16:43:00
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Roland Illig <rillig@NetBSD.org> wrote:
=20
> gtar-base and startup-notification have ISO C99 problems. I suggest=20
> that, instead of adding the following four-line code to each of these=20
> packages, ...
>=20
> .include "../../mk/compiler.mk"
> .if !empty(PKGSRC_COMPILER:Mmipspro)
> CFLAGS+=3D        -c99
> .endif
>=20
> ... the list of LANGUAGES should include c99. Then the above code could=
=20
> be abbreviated to
>=20
> LANGUAGES+=3D     c99
>=20
> I expect that more and more packages will need this code, so this really=
=20
> 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

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

--KsGdsel6WgEHnImy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFD2+VkfFtkr68iakwRAkYcAJ9XkmoayBxLCJhV0hCO5QYkaTiRKwCfda9K
FPNRRKuAO13FhUd2IlWwKSo=
=zD7Q
-----END PGP SIGNATURE-----

--KsGdsel6WgEHnImy--