configure: Disable host-bsd USB on FreeBSD

Submitted by Ed Maste on June 6, 2013, 1:18 p.m.

Details

Message ID 1370524724-39136-1-git-send-email-emaste@freebsd.org
State New
Headers show

Commit Message

Ed Maste June 6, 2013, 1:18 p.m.
It hasn't built since FreeBSD 8.x, and is disabled by a patch in the
FreeBSD ports tree.  FreeBSD is migrating to QEMU's libusb support.

Signed-off-by: Ed Maste <emaste@freebsd.org>
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Michael Tokarev June 7, 2013, 10:33 p.m.
06.06.2013 17:18, Ed Maste wrote:
> It hasn't built since FreeBSD 8.x, and is disabled by a patch in the
> FreeBSD ports tree.  FreeBSD is migrating to QEMU's libusb support.

Thanks, applied to the trivial patches queue.

/mjt

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index e197b91..a3f0b7a 100755
--- a/configure
+++ b/configure
@@ -553,7 +553,9 @@  esac
 
 if [ "$bsd" = "yes" ] ; then
   if [ "$darwin" != "yes" ] ; then
-    usb="bsd"
+    if [ "$targetos" != "FreeBSD" ]; then
+      usb="bsd"
+    fi
     bsd_user="yes"
   fi
 fi