Subject: Re: pkg/35555: lang/python24 Sunpro amd64 Solaris 10
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 02/06/2007 19:25:02
The following reply was made to PR pkg/35555; it has been noted by GNATS.

From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35555: lang/python24 Sunpro amd64 Solaris 10
Date: Tue, 06 Feb 2007 20:20:04 +0100

 Gilles Dauphin wrote:
 > ERROR: [transform-sunpro-cc] cmd = /pkg/obj/lang/python24/work/.wrapper/bin/cc64
 
 That's my fault. As you can see in the mk/wrapper/transform-sunpro-cc 
 file, it can only handle compilers whose names are either cc, gcc, CC, 
 g++ or c++.
 
 I know that this conflicts with the Solaris 64 bit tricks I suggested in 
 the pkgsrc guide.
 
 I think I will fix it the right way by passing the compiler wrappers an 
 identifier, so they know whether they are a wrapper for:
 
 * a C compiler
 * a C++ compiler
 * a Fortran compiler
 * libtool
 * the linker
 * something else I forgot to list here
 * something completely different
 
 Then the obviously short-sighted test for the basename of the compiler 
 will go away.
 
 To get your problem solved quickly, you can replace "cc | gcc" with "cc 
 | cc64 | gcc", and similar in the next line.
 
 Roland