Patchwork [PULL,04/26] configure: Disable host-bsd USB on FreeBSD

login
register
mail settings
Submitter Michael Tokarev
Date June 14, 2013, 10:50 a.m.
Message ID <1371207042-17980-5-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/251330/
State New
Headers show

Comments

Michael Tokarev - June 14, 2013, 10:50 a.m.
From: Ed Maste <emaste@freebsd.org>

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>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 configure |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

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