Subject: Re: prevent buildlink wrapper from enclosing rewitten argument in quotes?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-pkg
Date: 03/25/2005 17:01:02
--lzfPtAjrR1KYNfg0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Mar 25, 2005 at 04:57:30PM +0100, Georg Schwarz wrote:
> I've written a buildlink transform script for the IRIX 5.3 cc which,
> among others substitutes -B static for -static:
>=20
> -static)
> arg=3D-B static
> msg_log $wrapperlog " (transform-ido-cc) to: $arg"
> addtocache=3Dyes
> ;;
>=20
>=20
> This seems to have no effect, since I end up with -static anyway.
> When I set
> arg=3D-B\ static
> this is later on, arrcording to .work.log, passed as "-B static" (i.e.
> in quotes), which the compiler does not support.
>=20
> Does anyone know how to get around that problem?
arg=3D"-B static"
split_arg=3Dyes
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--lzfPtAjrR1KYNfg0
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQkQ1vtgoQloHrPnoAQIwuAf+PGXU0FBAO1qAW2WIoKcRoVR6vNm7+aFQ
FxngGabgzU3bwhLf7oq3IZTDdDyiszzd+64HNNNIrvHa7xLPHahgn5o71c7ZB8pn
J18qon76DqLUJpiUtyBAds+68muzFI6smSUPW6OEo4WRyLLx9R9zSjHXH2u/HLcB
cAV56kVq6TVSPveVHytE+B1dGPlupx9UTe19N8dozEmoSxRjxurdUzLlBc6eIvZA
wHLthMtjhdEbo4lMQ9JKdE8IoWJNjNZr/e5fsDG67PviMiAWWN/agb/H9CGc4o5N
TmbSBIuQtaQ2dFU/GnVJ1i2gfnISw6rltHFmelprzTw6j9opxQnADw==
=vX6h
-----END PGP SIGNATURE-----
--lzfPtAjrR1KYNfg0--