aboutsummaryrefslogtreecommitdiff
path: root/devel/libsigrok/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-13 22:05:15 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-13 22:05:15 +0000
commit5499c4f24eb2b33dec76e9a2810b0bddf45d14c8 (patch)
tree1c96b9b5e8b4640267246b6346a495fb3b5fb025 /devel/libsigrok/Makefile
parent124d1f31e8036d11c512848b997a62e7bb09be2d (diff)
downloadports-5499c4f24eb2b33dec76e9a2810b0bddf45d14c8.tar.gz
ports-5499c4f24eb2b33dec76e9a2810b0bddf45d14c8.zip
MFH: r370272
Fix build on head and 10.1
Notes
Notes: svn path=/branches/2014Q4/; revision=370821
Diffstat (limited to 'devel/libsigrok/Makefile')
-rw-r--r--devel/libsigrok/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/libsigrok/Makefile b/devel/libsigrok/Makefile
index 78084adea97a..60b06086f278 100644
--- a/devel/libsigrok/Makefile
+++ b/devel/libsigrok/Makefile
@@ -22,7 +22,11 @@ MAKE_JOBS_UNSAFE= yes
LDFLAGS+= -L/usr/lib -lusb
USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
+
# Workaround for libusb not knowing LIBUSB_CLASS_APPLICATION
+.if (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100029) || (${OSVERSION} < 1000715)
CFLAGS+= -DLIBUSB_CLASS_APPLICATION=0xfe
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>