Subject: Re: How to specify variable ending on whitespace?
To: None <tech-pkg@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 04/27/2004 23:37:15
--8tZVdKiiYitVG083
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Apr 25, 2004 at 11:45:19AM -0400, Jan Schaumann wrote:
> Well, I also noticed a problem with this, and while I don't have a
> solution, I do at least have another data point:
>=20
> _OPSYS_RPATH_NAME is used in several ways. On the one hand, it's used
> to specify the flags to the *compiler* which flags are to be passed on
> to the linker, ie '-Wl,${_OPSYS_RPATH_NAME}'. In this instance, the
> correct flags for MIPSPro compilers would be '-Wl,-rpath,/path'.
> Setting _OPSYS_RPATH_NAME to "-rpath " would not work, in this scenario
> (nor did using two '-Wl' flags (as "-Wl,-rpath -Wl,/path"), which is why
> we set _OPSYS_RPATH_NAME to "-rpath," for Irix to begin with).
a minor tangent - packages should not directly use _OPSYS_RPATH_NAME,
only RPATH_FLAG.
grant.
--8tZVdKiiYitVG083
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAjmILluYOb9yiFXoRAu8HAJ0TyKOPnqOlJ4fO/WgwVnWXcwWHnQCgrmLV
hVjJh6LAIY9QLjBOirW3IT4=
=TooM
-----END PGP SIGNATURE-----
--8tZVdKiiYitVG083--