Bug 150997 - ports-mgmt/portlint: multiple (and bogus) warnings re "wrong dependency value for LIB_DEPENDS"
Summary: ports-mgmt/portlint: multiple (and bogus) warnings re "wrong dependency value...
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: 2010-09-27 15:30 UTC by gerald
Modified: 2010-11-07 22: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 gerald 2010-09-27 15:30:03 UTC
	portlint 2.13.1, when checking the following Makefile

==== snip ====
# New ports collection makefile for:	mpc
# Date created:			05 April, 2009
# Whom:				Wen Heping <wenheping@gmail.com>
#
# $FreeBSD: ports/math/mpc/Makefile,v 1.11 2010/06/20 22:52:13 gerald Exp $
#

PORTNAME=	mpc
PORTVERSION=	0.8.2
CATEGORIES=	math devel
MASTER_SITES=	http://www.multiprecision.org/mpc/download/

MAINTAINER=	gerald@FreeBSD.org
COMMENT=	Library of complex numbers with arbitrarily high precision

LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp	# and none more

PLIST_FILES=	include/mpc.h lib/libmpc.a

.include <bsd.port.mk>
==== snap ====

	issues the following warnings:

WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.

	I don't think the warning on LIB_DEPENDS is correct (the Makefile
	just works fine), but issuing it four times definitely looks wrong.

How-To-Repeat: 	Copy the Makefile above into ports/math/mpc and run portlint -C.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-09-29 02:03:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-11-07 22:11:06 UTC
marcus      2010-11-07 22:10:56 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/portlint  Makefile 
    ports-mgmt/portlint/src portlint.pl 
  Log:
  Update to 2.13.2.
  
  * Correct the UIDs passwd file format.
  * Parse out comments when checking dependency format. [1]
  * Added check for the case when LICENSE contains multiple tokens but
    LICENSE_COMB do not set or equal to 'single' (instead of correct 'multi' or
    'dual'). [2]
  * Add support for @rmtry. [3]
  
  PR:             150997 [1]
                  151966 [2]
                  151301 [3]
  Submitted by:   skv [2]
  
  Revision  Changes    Path
  1.139     +1 -2      ports/ports-mgmt/portlint/Makefile
  1.116     +24 -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 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2010-11-07 22:11:46 UTC
State Changed
From-To: open->closed

This has been fixed.  Thanks for reporting.