diff options
author | Alberto Villa <avilla@FreeBSD.org> | 2011-03-07 00:35:46 +0000 |
---|---|---|
committer | Alberto Villa <avilla@FreeBSD.org> | 2011-03-07 00:35:46 +0000 |
commit | f084cf7c2a424f1e0729feb80dbb7ddb7aea0d9f (patch) | |
tree | 76c80893319a85f628190cf7d6d2bf8bf2ec898f /comms/usbmuxd | |
parent | - Fix build with python-2.7 (diff) |
- Rework the checks to allow running in crossbuilding environment.
Reported by: pointyhat via pav
Notes
Notes:
svn path=/head/; revision=270394
Diffstat (limited to 'comms/usbmuxd')
-rw-r--r-- | comms/usbmuxd/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile index 9f34eac9a639..b278c229d6f7 100644 --- a/comms/usbmuxd/Makefile +++ b/comms/usbmuxd/Makefile @@ -23,16 +23,7 @@ PORTDOCS= AUTHORS README README.devel .include <bsd.port.pre.mk> -.if ${OSVERSION} == 800107 || ${OSVERSION} == 900002 -HAVE_LIBUSB104!= ${GREP} --quiet "libusb_fill_bulk_transfer" \ - /usr/include/libusb.h \ - && ${ECHO_CMD} yes || ${ECHO_CMD} no -.elif ${OSVERSION} > 800107 && ${OSVERSION} < 900000 || ${OSVERSION} > 900002 -HAVE_LIBUSB104= yes -.else -HAVE_LIBUSB104= no -.endif -.if ${HAVE_LIBUSB104} == "no" +.if ${OSVERSION} <= 800107 || ${OSVERSION} >= 900000 && ${OSVERSION} <= 900002 BROKEN= requires libusb 1.0.4 .endif |