diff options
author | avilla <avilla@FreeBSD.org> | 2011-03-07 08:35:46 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2011-03-07 08:35:46 +0800 |
commit | 028e84bcfefb19aa6753cd2ef0400624b5083293 (patch) | |
tree | 1ce260fce7fa569e42dddbb2fb97bed25697f0de /comms/usbmuxd | |
parent | a182f977b7ba31c381f4d597eab35684f45006c2 (diff) | |
download | freebsd-ports-gnome-028e84bcfefb19aa6753cd2ef0400624b5083293.tar.gz freebsd-ports-gnome-028e84bcfefb19aa6753cd2ef0400624b5083293.tar.zst freebsd-ports-gnome-028e84bcfefb19aa6753cd2ef0400624b5083293.zip |
- Rework the checks to allow running in crossbuilding environment.
Reported by: pointyhat via pav
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 |