aboutsummaryrefslogtreecommitdiffstats
path: root/comms/usbmuxd
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-03-07 08:35:46 +0800
committeravilla <avilla@FreeBSD.org>2011-03-07 08:35:46 +0800
commit028e84bcfefb19aa6753cd2ef0400624b5083293 (patch)
tree1ce260fce7fa569e42dddbb2fb97bed25697f0de /comms/usbmuxd
parenta182f977b7ba31c381f4d597eab35684f45006c2 (diff)
downloadfreebsd-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/Makefile11
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