Problem with a portlint change
Joe Marcus Clarke
marcus at FreeBSD.org
Thu Jan 1 18:08:31 PST 2004
On Thu, 2004-01-01 at 20:45, Doug Barton wrote:
> Marcus,
>
> 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:
>
> m'ports/([^/]+)/[^/]+/?$'
>
> 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
> possible.
Doug, you're just too obsessive ;-). I'll see what I can do. I'm in
the same boat you are, but I've just gotten used to ignoring the
message. I like your suggestion, and I think I may go for that for the
time being.
Joe
>
> Doug
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040101/d68b0f44/attachment.bin
More information about the freebsd-ports
mailing list