From edwin@mavetju.org  Tue May  1 22:50:06 2007
Return-Path: <edwin@mavetju.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 306CD16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 May 2007 22:50:06 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125])
	by mx1.freebsd.org (Postfix) with ESMTP id E35F013C458
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 May 2007 22:50:05 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: by mail4out.barnet.com.au (Postfix, from userid 1001)
	id CFB1337D391; Wed,  2 May 2007 08:50:04 +1000 (EST)
Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mail4.barnet.com.au (Postfix) with ESMTP id 97E68429240
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 May 2007 08:50:04 +1000 (EST)
Received: from k7.mavetju (k7.mavetju.org [10.251.1.18])
	by mail4auth.barnet.com.au (Postfix) with ESMTP id F3AA037D389
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 May 2007 08:50:02 +1000 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id C3BC71A0; Wed,  2 May 2007 08:49:56 +1000 (EST)
Message-Id: <20070501224956.C3BC71A0@k7.mavetju>
Date: Wed,  2 May 2007 08:49:56 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports-mgmt/portlint - strange error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112332
>Category:       ports
>Synopsis:       ports-mgmt/portlint - strange error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    marcus
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 01 23:00:12 GMT 2007
>Closed-Date:    Fri Aug 17 17:13:43 GMT 2007
>Last-Modified:  Fri Aug 17 17:20:01 GMT 2007
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:

portlint version 2.9.3

portlint gives the warning:
    WARN: Makefile: extra item placed in the *_DEPENDS section, for example, "LIB_DEPENDS".

This is caused by a \ at the end of the LIB_DEPENDS variable:
LIB_DEPENDS=    curl.4:${PORTSDIR}/ftp/curl \
                pcre.0:${PORTSDIR}/devel/pcre \
                sqlite3.8:${PORTSDIR}/databases/sqlite3 \
                dbus-glib-1.2:${PORTSDIR}/devel/dbus \
                notify.1:${PORTSDIR}/devel/libnotify \
                gtkspell.0:${PORTSDIR}/textproc/gtkspell \
                sexy.2:${PORTSDIR}/x11-toolkits/libsexy \

USE_BZIP2=      yes

The warning should have been: 'for example, "USE_BZIP2"'.

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->marcus 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 1 23:00:22 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112332 
State-Changed-From-To: open->feedback 
State-Changed-By: marcus 
State-Changed-When: Sat Jun 9 18:59:33 UTC 2007 
State-Changed-Why:  
Please provide the entire Makefile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112332 

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: ports/112332: ports-mgmt/portlint - strange error
Date: Sun, 10 Jun 2007 10:02:41 +1000

 # New ports collection makefile for:	PenguinTV-devel
 # Date created:				14 March 2006
 # Whom:					Edwin Groothuis <edwin@mavetju.org>
 #
 # $FreeBSD: ports/net/penguintv-devel/Makefile,v 1.31 2007/05/31 00:34:13 edwin Exp $
 
 PORTNAME=	PenguinTV
 PORTVERSION=	3.0
 CATEGORIES=	net audio multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	penguintv
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	edwin@mavetju.org
 COMMENT=	Graphical RSS feed reader with 
 
 LIB_DEPENDS=	foo.2:${PORTSDIR}/databases/foo \
 
 USE_BZIP2=	yes
 
 .include <bsd.port.mk>
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
State-Changed-From-To: feedback->patched 
State-Changed-By: marcus 
State-Changed-When: Sun Jun 10 04:54:18 UTC 2007 
State-Changed-Why:  
I have patched my local CVS repository with a fix.  See 
http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/portlint/portlint.pl.diff?r1=1.137&r2=1.138&f=h . 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112332 
State-Changed-From-To: patched->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Aug 17 17:13:28 UTC 2007 
State-Changed-Why:  
Fixed in 2.9.5. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112332 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112332: commit references a PR
Date: Fri, 17 Aug 2007 17:11:48 +0000 (UTC)

 marcus      2007-08-17 17:11:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/portlint  Makefile 
     ports-mgmt/portlint/src portlint.pl 
   Log:
   Update to 2.9.5.
   
   * Consolidate lines that end in a '\' followed by an empty line into one
     newline prior to splitting the Makefile into sections.  This will more
     properly catch section-related errors [1]
   * Properly check pkg-config files when they contain an embedded '.' [2]
   * Allow pkg-plist directive @cwd by itself which means to change the working
     directory back to the original PREFIX [3]
   * Beef up the warnings around DOCSDIR, EXAMPLESDIR, and DATADIR so that
     users don't just use these macros without knowing if they are safe [3]
   * Check for use of --mandir and --infodir [4]
   
   PR:             112332 [1]
                   115455 [4]
   Submitted by:   rafan [4]
                   sat [2]
   Requested by:   pav [3]
   
   Revision  Changes    Path
   1.118     +1 -1      ports/ports-mgmt/portlint/Makefile
   1.95      +33 -6     ports/ports-mgmt/portlint/src/portlint.pl
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
