aboutsummaryrefslogtreecommitdiff
path: root/devel/libsigrok
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
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')
-rw-r--r--devel/libsigrok/Makefile6
-rw-r--r--devel/libsigrok/pkg-plist1
2 files changed, 5 insertions, 2 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>
diff --git a/devel/libsigrok/pkg-plist b/devel/libsigrok/pkg-plist
index 17e948c64854..3ea32370316b 100644
--- a/devel/libsigrok/pkg-plist
+++ b/devel/libsigrok/pkg-plist
@@ -6,4 +6,3 @@ lib/libsigrok.so
lib/libsigrok.so.2
lib/libsigrok.so.2.0.0
libdata/pkgconfig/libsigrok.pc
-@dirrm include/libsigrok