how do you specify a minimum lib version?
Mikhail T.
virtualestates at gmail.com
Fri Feb 24 16:59:24 UTC 2012
On -10.01.-28163 14:59, Michael Scheidell wrote:
> in LIB_DEPENDS
> it won't take anything like:
>
> = boost_serialization>=.4
>
> what if you needed a minimum version of the library?
For years now the shared-library's major number is treated as a regular
expression by bsd.port.mk.
So you could use something like:
LIB_DEPENDS= boost_serialization.[456789]:...
this should be enough for a while -- until there appears boost_serialization.10,
necessitating a hairier regexp. ImageMagick port uses this to depend on the
fixed version of libfpx, for example.
You may also be able to insist on the version of the boost port being above a
certain string, but I don't know the syntax... Yours,
-mi
More information about the freebsd-ports
mailing list