Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2022 11:22:44 +0200
From:      Felix Palmen <zirias@FreeBSD.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Patching Conditionally for 12.3 Releases
Message-ID:  <20220823092244.bxi5uyrzicuff5yy@nexus.home.palmen-it.de>
In-Reply-To: <CAFDf7UJWajRPrv-Vkq6ZKKsFKbrv=%2BeXpucJL%2BjNdJkc7oePAg@mail.gmail.com>
References:  <CAFDf7UJWajRPrv-Vkq6ZKKsFKbrv=%2BeXpucJL%2BjNdJkc7oePAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--avitzpl4y4yaecpg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Nuno Teixeira <eduardo@freebsd.org> [20220822 21:52]:
> .if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1100069
> EXTRA_PATCHES=3D	${PATCHDIR}/extra-patch-fbsd10
> .endif

Possible alternative without if:

EXTRA_PATCHES=3D		${EXTRA_PATCHES_${OPSYS}}
EXTRA_PATCHES_FreeBSD=3D	${${OSVERSION}<1300000:?${PATCHDIR}/extra-foo:}

Not sure whether that's more readable. Maybe worth considering if this
extra patch would be the only reason to introduce bsd.port.pre.mk
otherwise.

--=20
 Felix Palmen <zirias@FreeBSD.org>     {private}   felix@palmen-it.de
 -- ports committer (mentee) --            {web}  http://palmen-it.de
 {pgp public key}  http://palmen-it.de/pub.txt
 {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231

--avitzpl4y4yaecpg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCYwScXF8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz
NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny
MZZuAQD5SCdsIQnJyTToh2jG3cBnwuCNzPz0UYiAjNLCCuIDdgD+MSr1XoLOnKTR
hXuCFRN0L+TDN9lqvM6mU196/fRqZAE=
=1Y3E
-----END PGP SIGNATURE-----

--avitzpl4y4yaecpg--



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