tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Avoiding :M[Yy][Ee][Ss] constructs



* On 2022-11-16 at 11:56 GMT, Thomas Klausner wrote:

Log Message:
libXft: pkglint cleanup

[...]

-.if !empty(CHECK_BUILTIN.libXft:M[nN][oO])
+.if ${CHECK_BUILTIN.libXft:M[nN][oO]}

Could we get consensus and pkglint support for changing the suggestion for this type of construct to be:

  .if ${CHECK_BUILTIN.libXft:U:tl} == no

instead? I find it significantly reduces noise and is a lot more readable. Bonus points for identifying situations where the :U can be safely dropped.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index