Patchwork configure: Disable host-bsd USB on FreeBSD

login
register
mail settings
Submitter Ed Maste
Date June 6, 2013, 1:18 p.m.
Message ID <1370524724-39136-1-git-send-email-emaste@freebsd.org>
Download mbox | patch
Permalink /patch/249410/
State New
Headers show

Comments

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(-)
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

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