Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 2004 17:45:37 -0800
From:      Doug Barton <DougB@FreeBSD.org>
To:        marcus@FreeBSD.org, ports@FreeBSD.org
Subject:   Problem with a portlint change
Message-ID:  <3FF4CD41.6070706@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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

-- 

     This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FF4CD41.6070706>