nevermind.Re: how do you specify a minimum lib version?

Chris Rees crees at freebsd.org
Sat Feb 25 13:25:23 UTC 2012


On 24 February 2012 12:54, Michael Scheidell <scheidell at freebsd.org> wrote:
>
>
> On 2/24/12 6:57 AM, Michael Scheidell wrote:
>>
>> in LIB_DEPENDS
>> it won't take anything like:
>>
>> = boost_serialization>=.4
>>
> I googled.
> all other _DEPENDS uses >=
> LIB_DEPENDS uses .[4-9]
> (i assume .(1[0-9]|[4-9]))

If we're going to make this rigorous, we should use:

.([1-9][0-9]+|[4-9])

in order to accept >.4 .  I haven't escaped the '.', because I don't
see any way it could hurt.

Or, you could depend on the lowest package version that has .so.4 (but
only if it is unique to that package).

Chris


More information about the freebsd-ports mailing list