diff options
author | nox <nox@FreeBSD.org> | 2009-06-02 03:02:37 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2009-06-02 03:02:37 +0800 |
commit | cb7b1c4122bf6b208ff8dfd12b9864b5b355b83f (patch) | |
tree | 9d2d1f2f9d869695024795835c55f07b45efa259 /emulators/qemu-devel/Makefile | |
parent | 97e00baf24ed270dd1bf9e3b2c5333bf943d413a (diff) | |
download | freebsd-ports-gnome-cb7b1c4122bf6b208ff8dfd12b9864b5b355b83f.tar.gz freebsd-ports-gnome-cb7b1c4122bf6b208ff8dfd12b9864b5b355b83f.tar.zst freebsd-ports-gnome-cb7b1c4122bf6b208ff8dfd12b9864b5b355b83f.zip |
- (Attempt to) fix build on head by entirely disabling the usb host code
which is still not ported to the new usb stack yet. (qemu could really
use some help here, the author of the old usb host code is busy with
other stuff now...)
- No PORTREVISION bump since this is a build fix.
Diffstat (limited to 'emulators/qemu-devel/Makefile')
-rw-r--r-- | emulators/qemu-devel/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index b5797246050a..9b6aced13ecc 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -124,6 +124,15 @@ post-patch: -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ ${WRKSRC}/texi2pod.pl +.if ${OSVERSION} >= 800091 +# XXX need to disable usb host code on head while it's not ported to the +# new usb stack yet +post-configure: + @${REINPLACE_CMD} -E \ + -e "s|^(HOST_USB=)bsd|\1stub|" \ + ${WRKSRC}/config-host.mak +.endif + post-install: @${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${PREFIX}/etc @${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${PREFIX}/etc |