Date: Fri, 24 Feb 2012 11:30:15 -0500 From: "Mikhail T." <virtualestates@gmail.com> To: Michael Scheidell <scheidell@FreeBSD.org> Cc: ports@freebsd.org Subject: Re: how do you specify a minimum lib version? Message-ID: <4F47BB17.4020706@gmail.com> In-Reply-To: <4F477B33.5020506@FreeBSD.org> References: <4F477B33.5020506@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F47BB17.4020706>