diff options
Diffstat (limited to 'devel/libsigrok')
-rw-r--r-- | devel/libsigrok/Makefile | 6 | ||||
-rw-r--r-- | devel/libsigrok/pkg-plist | 1 |
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 |