Using >= to check for minimum versions.

Adrian teksimian at gmail.com
Sun Jul 23 21:04:31 UTC 2006


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

errors out with:
===>  Vulnerability check disabled, database not found
===>  Extracting for libnjb-2.2.5
=> MD5 Checksum OK for libnjb-2.2.5.tar.gz.
=> SHA256 Checksum OK for libnjb-2.2.5.tar.gz.
===>  Patching for libnjb-2.2.5
Syntax error: redirection unexpected
*** Error code 2

Thanks for any help.
Adrian.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN2209


More information about the freebsd-ports mailing list