Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jun 2004 13:36:58 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Ulrich Spoerlein <q@uni.de>
Cc:        ports@freebsd.org
Subject:   Re: RFC: Re-work pkgdep/DEPORIGIN?
Message-ID:  <40C4A7BA.9030109@mac.com>
In-Reply-To: <20040607165933.GB765@galgenberg.net>
References:  <20040607152752.GD9227@spamcop.net> <20040607165933.GB765@galgenberg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein wrote:
[ ... ]
>> The real fix IMHO is to use a strategy similar to what Debian Linux
>> uses: instead of depending on specific ports, depend on capabilities. 
>> So for example, www/horde2 would depend on webphp, and lang/php4 and
>> www/mod_php4 would each provide webphp.  (I don't know the postgres port
>> family as well, so I can't readily give an example using it.)
> 
> I don't know the specific debian facilities, but isn't this overkill?

Perhaps so, as it it seems other people agree with your opinion.

To my mind, supporting "capability-based dependencies" would be a win, as 
would supporting what I think of as "loose dependencies" (ie, I depend on 
libiconv, but I don't care whether the system has shlib .2, .3, or whatever, 
just _a_ version), rather than having ports always hardcode themselves to 
looking for a specific version ("strict dependencies").

The advantage of loose dependency support would be to reduce the need for 
propogating a ripple of changes to LIB_DEPENDS for possibly hundreds of 
dependent ports when some basic library like readline or libiconv is updated.

-- 
-Chuck



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