Problem with a portlint change

Doug Barton DougB at
Thu Jan 1 17:45:39 PST 2004


In versions 1.4[168] you added/modified the following code in portlint:

         if ($committer && $makevar{'.CURDIR'} =~ m'/([^/]+)/[^/]+/?$') {
                 if ($cat[0] ne $1 && $makevar{PKGCATEGORY} ne $1 ) {
                         &perror("FATAL: $file: category \"$1\" must be 
listed first");

That creates a problem for those of us who check out individual ports 
directories in $HOME, rather than checking out ports/<category>/<port>. 
One solution to this problem might be to change the regex to:


but I'm sure there are others. It would be nice to find a solution to 
this though, since previous versions of portlint didn't complain about 
this, and I really like to keep my ports 'portlint clean' whenever 



     This .signature sanitized for your protection

More information about the freebsd-ports mailing list