1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix the port for those with stale /usr/include/libusb.h header.

Submitted by:	mdodd
This commit is contained in:
Maxim Sobolev 2003-06-27 19:29:43 +00:00
parent 4e974219b9
commit a6424a12df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83756

View File

@ -2,7 +2,7 @@
$FreeBSD$
--- configure.orig Sun Oct 6 23:35:02 2002
+++ configure Thu Jan 2 12:39:34 2003
+++ configure Fri Jun 27 22:19:43 2003
@@ -674,9 +674,9 @@
# libtool versioning
@ -35,3 +35,13 @@ $FreeBSD$
;;
*-*-netbsd*)
pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
@@ -6946,7 +6946,9 @@
CFLAGS="$CFLAGS -DHAVE_USBHID_H"
fi
if test x$have_libusb_h = xyes; then
+ if x$have_libusbhid_h = xno; then
CFLAGS="$CFLAGS -DHAVE_LIBUSB_H"
+ fi
fi
if test x$have_libusbhid_h = xyes; then
CFLAGS="$CFLAGS -DHAVE_LIBUSBHID_H"