From owner-freebsd-ports@FreeBSD.ORG Thu May 18 15:54:57 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99AE816A42F for ; Thu, 18 May 2006 15:54:57 +0000 (UTC) (envelope-from laszlof@vonostingroup.com) Received: from hutch.cpmsg.com (adsl-68-72-248-38.dsl.sfldmi.ameritech.net [68.72.248.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A39D43D78 for ; Thu, 18 May 2006 15:53:43 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: by hutch.cpmsg.com (Postfix, from userid 1003) id 8862928420; Thu, 18 May 2006 11:52:43 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on hutch.cpmsg.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.1.1 Received: from [192.168.1.33] (unknown [192.168.1.33]) by hutch.cpmsg.com (Postfix) with ESMTP id A82092841E; Thu, 18 May 2006 11:52:35 -0400 (EDT) Message-ID: <446C9879.70606@vonostingroup.com> Date: Thu, 18 May 2006 11:53:29 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "[LoN]Kamikaze" , Jiawei Ye , freebsd-ports@freebsd.org References: <44682A60.1090701@gmx.de> <4468361E.1090405@gmx.de> <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de> In-Reply-To: <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de> X-Enigmail-Version: 0.93.2.0 OpenPGP: url=http://www.franksworld.org/~laszlof/keys/0x0B3FCA4B.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: dependency inheritance 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: Thu, 18 May 2006 15:55:04 -0000 Ulrich Spoerlein wrote: > [LoN]Kamikaze wrote: > >> What I'd like to know is weather there is something wrong with my port. >> This problem makes it necessary to run 'pkgdb -F' to use portupgrade. >> Which is annoying in my opinion. >> > > A known problem. Prior to ghostscript-afpl being taken care of in > bsd.port.mk, I always had to fix dependencies from ghostscript-gpl -> > ghostscript->afpl. > > Same thing happens if you have lynx-ssl installed, and some other port > depends on lynx:www/lynx, it will find a lynx binary (of course) and > then blindly depend on www/lynx (wrong). > > A possible fix is to not record what's specified in the Makefile, as > this is only a suggestion on which port to install if the dep is not > satisfied. But to use the output of pkg_info -qo `pkg_info -qW lynx` > which will return www/lynx-ssl on my system. > Something like this wouldn't be a bad idea, in my opinion. > Problem: If lynx has been installed by hand, the pkg_info calls will > fail and you'd have to fallback to the suggestion provided in the > Makefile. > I'd say this isnt a problem, as the ports system doesnt really work nicely with manually installed applications anyways, perhaps it could fall over to the current way of finding dependencies if the pkg_info fails? __________________________________________________ Frank Laszlo System Administrator The VonOstin Group Email: laszlof@tvog.net WWW: http://www.vonostingroup.com Mobile: 248-863-7584