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 -.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