Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 16:23:11 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150997: portlint: multiple (and bogus) warnings re "wrong dependency value for LIB_DEPENDS"
Message-ID:  <201009271423.o8RENBHA034427@sputnik1.dbai.tuwien.ac.at>
Resent-Message-ID: <201009271430.o8REU4T7034674@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150997
>Category:       ports
>Synopsis:       portlint: multiple (and bogus) warnings re "wrong dependency value for LIB_DEPENDS"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 14:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sputnik1.dbai.tuwien.ac.at 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	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.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271423.o8RENBHA034427>