mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Mark BROKEN when base libusb is older than 1.0.4.
Reported by: pointyhat via pav
This commit is contained in:
parent
ed20927f56
commit
e738604a7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270099
@ -23,8 +23,17 @@ PORTDOCS= AUTHORS README README.devel
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 800069
|
.if ${OSVERSION} == 800107 || ${OSVERSION} == 900002
|
||||||
BROKEN= requires libusb 1.0
|
HAVE_LIBUSB104!= ${GREP} --quiet "libusb_fill_bulk_transfer" \
|
||||||
|
/usr/include/libusb.h \
|
||||||
|
&& ${ECHO} yes || ${ECHO} no
|
||||||
|
.elif ${OSVERSION} > 800107 && ${OSVERSION} < 900000 || ${OSVERSION} > 900002
|
||||||
|
HAVE_LIBUSB104= yes
|
||||||
|
.else
|
||||||
|
HAVE_LIBUSB104= no
|
||||||
|
.endif
|
||||||
|
.if ${HAVE_LIBUSB104} == "no"
|
||||||
|
BROKEN= requires libusb 1.0.4
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
|
Loading…
Reference in New Issue
Block a user