Question about portlint WARN/FATAL errors

Oliver Eikemeier eikemeier at fillmore-labs.com
Sat Jul 10 15:08:01 PDT 2004


Randy Pratt wrote:

> I ran portlint on quite a few existing ports and was quite surprised
> at the amount of WARN and FATAL errors that existed. [...]
> I started looking at other categories/ports and noticed that there
> seemed to be a lot of WARN/FATAL.  You can see what I mean by
>
> # cd /usr/ports/textproc
> # for i in *; do echo "======="; echo $i; portlint $i; done | less

Try
   /usr/local/share/examples/portlint/portlintgrep ^FATAL

then fix some of these. If you find one FATAL error where you believe 
the port is correct, submit a patch to portlint to turn it into a 
warning.

Some of these are harmless, but a few make writing new stuff for 
bsd.port.mk really hard. Sometimes portlint is really braindead, but 
generally it's a helpful tool.

-Oliver



More information about the freebsd-ports mailing list