Bug 112332 - ports-mgmt/portlint - strange error
Summary: ports-mgmt/portlint - strange error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 00:00 UTC by edwin
Modified: 2007-08-17 18:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edwin 2007-05-02 00:00:12 UTC
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"'.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-02 00:00:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2007-06-09 19:59:33 UTC
State Changed
From-To: open->feedback

Please provide the entire Makefile.
Comment 3 edwin 2007-06-10 01:02:41 UTC
# 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/
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2007-06-10 05:54:18 UTC
State Changed
From-To: feedback->patched

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 .
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-08-17 18:11:48 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"
Comment 6 Joe Marcus Clarke freebsd_committer freebsd_triage 2007-08-17 18:13:28 UTC
State Changed
From-To: patched->closed

Fixed in 2.9.5.