- (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.
This commit is contained in:
Juergen Lock 2009-06-01 19:02:37 +00:00
parent 94b185d6e2
commit 952f424c63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234988
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -125,6 +125,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