svn commit: r370272 - head/devel/libsigrok
Antoine Brodin
antoine at FreeBSD.org
Tue Oct 7 06:32:34 UTC 2014
Author: antoine
Date: Tue Oct 7 06:32:32 2014
New Revision: 370272
URL: https://svnweb.freebsd.org/changeset/ports/370272
QAT: https://qat.redports.org/buildarchive/r370272/
Log:
Fix build on head and 10.1
Modified:
head/devel/libsigrok/Makefile
head/devel/libsigrok/pkg-plist
Modified: head/devel/libsigrok/Makefile
==============================================================================
--- head/devel/libsigrok/Makefile Tue Oct 7 06:12:39 2014 (r370271)
+++ head/devel/libsigrok/Makefile Tue Oct 7 06:32:32 2014 (r370272)
@@ -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>
Modified: head/devel/libsigrok/pkg-plist
==============================================================================
--- head/devel/libsigrok/pkg-plist Tue Oct 7 06:12:39 2014 (r370271)
+++ head/devel/libsigrok/pkg-plist Tue Oct 7 06:32:32 2014 (r370272)
@@ -6,4 +6,3 @@ lib/libsigrok.so
lib/libsigrok.so.2
lib/libsigrok.so.2.0.0
libdata/pkgconfig/libsigrok.pc
- at dirrm include/libsigrok
More information about the svn-ports-all
mailing list