Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 17:55:44 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        John Hein <jhein@symmetricom.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: HELP! nvidia-driver patch: Weird REPLACE_CMD and command-line-sed behaviour. HELP!
Message-ID:  <20130910175544.3feb9029@thor.walstatt.dyndns.org>
In-Reply-To: <21039.16301.572328.142329@gromit.timing.com>
References:  <20130910015144.41c88d52@thor.walstatt.dyndns.org> <21039.10674.968260.7845@gromit.timing.com> <20130910162616.6ce1d52f@thor.walstatt.dyndns.org> <21039.16301.572328.142329@gromit.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/s_BelURE=ud2FMpK6k8pX.6
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 10 Sep 2013 09:50:05 -0600
John Hein <jhein@symmetricom.com> wrote:

> O. Hartmann wrote at 16:26 +0200 on Sep 10, 2013:
>  > On Tue, 10 Sep 2013 08:16:18 -0600
>  > John Hein <jhein@symmetricom.com> wrote:
>  > > You want to use $$/ instead of $/ :
>  > >
>  > > .if ${OSVERSION} > 1000053
>  > > 	${REINPLACE_CMD} -e 's/\(\&virtual_address, size,\) \
>  > > 		\(VMFS_ANY_SPACE,\)$$/\1 0, \2/' \
>  > > 		\ ${WRKSRC}/src/nvidia_subr.c
>  > > .endif
>  >
>  > if things are understood, there s nothing scaring. Thanks, I didn't
>  > realize that even the expression inside '' is eavluated by make.
>  >
>  > Thanks to you I could provide the patch to my PR. Hopefuilly,
>  > there is a committer soon.
>=20
> Actually I should have said you want:
>=20
> .if ${OSVERSION} > 1000055
>=20
> The API change to vm_map_find was made between shortly before 1000055.


I'm on  FreeBSD 10.0-CURRENT #1 r255434: Tue Sep 10 02:01:02 CEST 2013
amd64 and when calling=20

make -VOSVERSION in x11/nvidia-driver I receive

1000054

--Sig_/s_BelURE=ud2FMpK6k8pX.6
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBAgAGBQJSL0EFAAoJEOgBcD7A/5N8Pq0H/02Sg/ZH/SBbZA3EuIW6cgjb
japiWb+zhuIl9AJapIaMBbpUQ1nb0twFO791aw5it9fZMksphz8nS9LeoK7on2Or
5TF+QYd//zgkqnDjX9r3Q5ysZaQiD+I7kgUz55rqiHieJdbONkm8lHuCxITNzfm5
CKWMgYSlKzbfhhH0MTyLiaAOB04JB7S4l5pNNqdf89xVI4sy9ZGVWdO7CoqwqozF
ZVIXduZ9xUY5VP48n2cIsuoZVKGfxadz0jLFavVm79KRsWl7iRbb4Mbl9xRMztbR
w2Yu5nsWTACkEKXmDcobuPgm0arGCinB8pjNuJQ7OZM4xpkd352POXMaMlX7hXw=
=70cd
-----END PGP SIGNATURE-----

--Sig_/s_BelURE=ud2FMpK6k8pX.6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130910175544.3feb9029>