diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
commit | f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch) | |
tree | 343e91600b9cf81ffb94bf71017b43a88bfcbf45 /audio/rioutil/files/extra-patch-configure.ac | |
parent | e9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff) | |
download | ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.tar.gz ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.zip |
Notes
Diffstat (limited to 'audio/rioutil/files/extra-patch-configure.ac')
-rw-r--r-- | audio/rioutil/files/extra-patch-configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/rioutil/files/extra-patch-configure.ac b/audio/rioutil/files/extra-patch-configure.ac new file mode 100644 index 000000000000..34d3d9d06a68 --- /dev/null +++ b/audio/rioutil/files/extra-patch-configure.ac @@ -0,0 +1,17 @@ +--- configure.ac.orig 2009-03-07 01:48:24.000000000 +0300 ++++ configure.ac 2009-03-07 01:49:07.000000000 +0300 +@@ -74,13 +74,7 @@ + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(WITH_LIBUSB) + +- AC_PATH_PROG(LIBUSB_CONFIG,libusb-config) +- if test -n "${LIBUSB_CONFIG}"; then +- CFLAGS="`${LIBUSB_CONFIG} --cflags` $CFLAGS" +- LIBS="`${LIBUSB_CONFIG} --libs` $LIBS" +- else +- AC_MSG_ERROR(Can't find libusb) +- fi ++ LIBS="-lusb $LIBS" + + AC_CHECK_LIB(usb, usb_open) + AC_SUBST(WITH_LIBUSB) |