From owner-freebsd-ports@FreeBSD.ORG Thu Jan 1 17:45:39 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F6EF16A4CE; Thu, 1 Jan 2004 17:45:39 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93EEE43D46; Thu, 1 Jan 2004 17:45:38 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from freebsd.org (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (rwcrmhc12) with SMTP id <20040102014538014006437se> (Authid: domain_name_tsar); Fri, 2 Jan 2004 01:45:38 +0000 Message-ID: <3FF4CD41.6070706@FreeBSD.org> Date: Thu, 01 Jan 2004 17:45:37 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority User-Agent: Mozilla/5.0 (X11; U; FreeBSD i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: marcus@FreeBSD.org, ports@FreeBSD.org X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem with a portlint change X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 01:45:39 -0000 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//. 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