Re: Patching Conditionally for 12.3 Releases

2022-08-23 Thread Nuno Teixeira
Hi Felix, Possible alternative without if: > > EXTRA_PATCHES= ${EXTRA_PATCHES_${OPSYS}} > EXTRA_PATCHES_FreeBSD= ${${OSVERSION}<130:?${PATCHDIR}/extra-foo:} > It is nice without showing if condition but it becomes way more cryptic and complex. It will be very nice if ports include O

Re: Patching Conditionally for 12.3 Releases

2022-08-23 Thread Felix Palmen
* Nuno Teixeira [20220822 21:52]: > .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100069 > EXTRA_PATCHES=${PATCHDIR}/extra-patch-fbsd10 > .endif Possible alternative without if: EXTRA_PATCHES= ${EXTRA_PATCHES_${OPSYS}} EXTRA_PATCHES_FreeBSD= ${${OSVERSION}<130:?${PATCHDIR}/ext

Re: Patching Conditionally for 12.3 Releases

2022-08-22 Thread Nuno Teixeira
(...) OSVERSION} < 130 will match 12.x Nuno Teixeira escreveu no dia segunda, 22/08/2022 à(s) 21:52: > Hello to all, > > I'm about to patch a port only for 12.3 Release so build is fixed (due to > clang version 10.0.0.1) > My doubt is what the best option for OSREL: > (sample:) > > .if ${OPS