pkgsrc-Users archive

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

Re: [PATCH] lintpkgsrc cannot locate certain include files



On Sun, Jan 11, 2015 at 10:29 PM, J. Lewis Muir <jlmuir%imca-cat.org@localhost> wrote:
> Obviously, lintpkgsrc could be modified to just skip all of those cases
> it doesn't handle, but I don't know if that's an improvement since then
> those cases will go silently unchecked.

Here's a solution that would also work: if lintpkgsrc encounters a
value that it cannot handle (such as the :sh substitution), it can
just popen "bmake show-var VARNAME=$var" and read the value from
there. This is what I did in gourl2pkg. It is slower but that's better
than giving wrong results.

--Benny.


Home | Main Index | Thread Index | Old Index