From owner-freebsd-ports@FreeBSD.ORG Mon Nov 8 02:01:23 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B095D106566B for ; Mon, 8 Nov 2010 02:01:23 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85F568FC13 for ; Mon, 8 Nov 2010 02:01:23 +0000 (UTC) Received: by iwn39 with SMTP id 39so5493212iwn.13 for ; Sun, 07 Nov 2010 18:01:23 -0800 (PST) Received: by 10.42.211.71 with SMTP id gn7mr3190383icb.230.1289181682855; Sun, 07 Nov 2010 18:01:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.143.15 with HTTP; Sun, 7 Nov 2010 18:01:02 -0800 (PST) From: Eitan Adler Date: Sun, 7 Nov 2010 21:01:02 -0500 Message-ID: To: freebsd ports Content-Type: text/plain; charset=UTF-8 Subject: [patch] Port lint shouldn't report that 'work' isn't in cvs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 02:01:23 -0000 portlint currently reports two conflicting messages when it finds a "work" directory in a port a) Make sure it isn't committed b) It was not found in CVS This patch silences the second one --- portlint.old 2010-11-05 14:02:28.000000000 -0400 +++ portlint 2010-11-07 20:58:57.000000000 -0500 @@ -464,7 +464,7 @@ if /^(?:\.\.?|CVS)$/; my $filename = $dir eq '.' ? $_ : "$dir/$_"; if (-d $filename) { - if (!$entries{$_} || $entries{$_} ne 'D') { + if ((!$entries{$_} || $entries{$_} ne 'D') && $filename ne 'work') { &perror("FATAL", "", -1, "directory $filename not in CVS."); } else { -- Eitan Adler