Using >= to check for minimum versions.

Stanislav Sedov ssedov at mbsd.msk.ru
Mon Jul 24 14:04:02 UTC 2006


On Sun, 23 Jul 2006 17:04:29 -0400
Adrian <teksimian at gmail.com> mentioned:

> Hey guys,
> 
> Using the minimum version checking is not working for me.
> 
> using :
> LIB_DEPENDS=	usb-0.1.8:${PORTSDIR}/devel/libusb
> works.
> 
> but using the following construct as section 5.7.9 of the porters
> handbook suggests
> #LIB_DEPENDS=	usb>=0.1.8:${PORTSDIR}/devel/libusb
> 
This doesn't work for LIB_DEPENDS and you need pkg-config compatible
depend for this. However, you can use RUN_DEPENDS or BUILD_DEPENDS, e.g.

BUILD_DEPENDS=  libusb>=0.1.8:${PORTSDIR}/devel/libusb

-- 
Stanislav Sedov         MBSD labs, Inc.         <ssedov at mbsd.msk.ru>
Россия, Москва         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060724/644d5e0a/signature.pgp


More information about the freebsd-ports mailing list