Date: Tue, 14 Aug 2018 17:33:38 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: blubee blubeeme <gurenchan@gmail.com> Cc: Helen Koike <helen.koike@collabora.com>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: workflow question: how do you maintain the port in sync with upstream? Message-ID: <20180814153338.bujxg3a5uswj3y5n@ogg.in.absolight.net> In-Reply-To: <CALM2mE=hXWocn8DDA23Qy6SEaFZg6OtoAQsAYWwhzc5eObwGpA@mail.gmail.com> References: <05457c2b-b85c-a929-20e7-38ff1b2899d6@collabora.com> <CALM2mEmnrLmLApeuun9h2OPJbj_wMXY9u-q=PUGyNpy5w8XfQg@mail.gmail.com> <87211ccd-bb2f-cd03-ecde-fd123d0c9ca5@collabora.com> <CALM2mEkV-pyQneSiSrWuBQ2VxoM-UAADSDjm5o2HhjD4FWBQYA@mail.gmail.com> <c0e1f68d-d1c7-b74d-b058-d758f46a7e1b@collabora.com> <CALM2mE=hXWocn8DDA23Qy6SEaFZg6OtoAQsAYWwhzc5eObwGpA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--7npqrc57l3pg3vqf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 14, 2018 at 10:41:43PM +0800, blubee blubeeme wrote: > This one is fairly straight forward, you can simply replace that string > with a regex command; > This is an example of running a replace command for strings after the pat= ch > phase of the build; >=20 > post-patch: > @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README Patching files in post-patch using sed SHOULD only be used to replace dynamic content, never static content. --=20 Mathieu Arnold --7npqrc57l3pg3vqf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlty9lFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkhnJg/+Ouv1YwX93TAXZ75VNtbhhZaN2tD5GFu3aVfYjlEJpGA3ZKCiXAmX/aDt zqOBSPluVTe+Fw0ULPvRc2hMxKbFFECVlQSBl/reSMhKvUk98gnmR1uSUujHle7I ktKPUCBCO4xDIZEpTVB3ExbrDYjbLkGDm6OwzLVv76RDXOuKbv+ccD/iyrqu8uXY WllIp79+TbVsgxQt678yU3+BJ7DoTC+5nsrnHccwxGBC8/+ewI8NqjeXO0hFN2Kw D1rniBPJgW/Qsn9rYYuYzjfg+qDM8gJqCWWM/mVlrWV98F4+k0ENHdvlRtZOh7EO 4pLWI2kJmy2WD3So+XQgjysxlzcpW5Xn8mC9baBIpJJYoOi3A4D5pJ/nx7cIndFF HQKejdOZMgo5ubXr7lG/dzz+iYzn/SfPQ8haD2ngg2xp4psQkT5LQFBwP0GLrYoy k250QjRdELVNDTyYj0N9FMWHQLobpaeplnQiu7Q8zuGg8zJlLtB4hxDiIGzIu90F BFJbXCbldyEkh4wxZV9byIURS7Xjmxl93amnfG4Ls7CbGyEw+S+feQ5rQzrDoxQc /W/R9eYSPUH3C3iaBNfwPDBb8ocHfXvAgQlt1+YHbo1BMJ0tuvdi+duMTmF7OhoG 9Wnj6d18wXtcVVW+pIDGmtpPhL75WczYAsUG51nG+c4SBB4orWg= =uON1 -----END PGP SIGNATURE----- --7npqrc57l3pg3vqf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180814153338.bujxg3a5uswj3y5n>