Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 11:53:29 -0400
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>, Jiawei Ye <leafy7382@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: dependency inheritance
Message-ID:  <446C9879.70606@vonostingroup.com>
In-Reply-To: <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de>
References:  <44682A60.1090701@gmx.de>	<c21e92e20605150051h39dd482ct278c59fa92030458@mail.gmail.com>	<4468361E.1090405@gmx.de> <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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






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