Subject: Re: CVS commit: pkgsrc/mk/compiler
To: None <tech-pkg@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/10/2004 12:45:12
--SUk9VBj82R8Xhb8H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Feb 10, 2004 at 12:37:53AM +0000, Johnny C. Lam wrote:

> Log Message:
> Give a better pseudo CC_VERSION for the SunPro C compiler.

 .  if exists(${SUNWSPROBASE}/bin/cc)
 CC_VERSION!=   ${SUNWSPROBASE}/bin/cc -V 2>&1 | ${GREP} '^cc'
 .  else
-CC_VERSION=    sunpro
+CC_VERSION=    cc: Sun C
 .  endif

shouldn't this bomb if ${SUNWSPROBASE}/bin/cc doesn't exist?

grant.


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

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

iD8DBQFAKDeoluYOb9yiFXoRAjPlAJ9VRHTtgf6mkWkhVxX9/p2acn4wVwCgm9sr
PYtfQUhgyRWxDqxoDXZgJOs=
=SshG
-----END PGP SIGNATURE-----

--SUk9VBj82R8Xhb8H--