opnsense-ports/comms/libconcord/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
346 B
Text

--- configure.orig 2014-03-28 20:27:39.000000000 -0700
+++ configure 2014-05-31 01:13:47.000000000 -0700
@@ -15457,6 +15457,13 @@
fi
LIBCONCORD_LDFLAGS="-l$USBLIB"
;;
+ freebsd*)
+ USBLIB="hidapi"
+
+$as_echo "#define WANT_HIDAPI 1" >>confdefs.h
+
+ LIBCONCORD_LDFLAGS="-l$USBLIB"
+ ;;
darwin*)
USBLIB="hidapi"