aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-06-27 19:29:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-06-27 19:29:43 +0000
commita6424a12dfebc96efe63607a0a446594c3b03747 (patch)
tree2aa86dda9df53ade6bb51095b77866171d45911a /devel/sdl12
parent4e974219b91c0b2d04c24729c53d82783694de88 (diff)
downloadports-a6424a12dfebc96efe63607a0a446594c3b03747.tar.gz
ports-a6424a12dfebc96efe63607a0a446594c3b03747.zip
Fix the port for those with stale /usr/include/libusb.h header.
Submitted by: mdodd
Notes
Notes: svn path=/head/; revision=83756
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/files/patch-ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index 96238ceb10c2..81c1a6c8de4f 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/files/patch-ac
@@ -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"