1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

Sync to QEMU for today.

Switch to using sysutils/dtc for libfdt with qemu-sbruno, remove
use of nox's homedir for providing dtc/libfdt and remove it as
a build depend in the qemu-user-static path if it was even being
built.
This commit is contained in:
Sean Bruno 2017-07-17 19:38:56 +00:00
parent 1e4e1d7193
commit 9a0bfe78ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446108
3 changed files with 10 additions and 24 deletions

View File

@ -2,14 +2,11 @@
# $FreeBSD$
PORTNAME= qemu
PORTVERSION= 2.9.50.g20170711
PORTVERSION= 2.9.50.g20170717
CATEGORIES= emulators
MASTER_SITES= GH \
LOCAL/nox:dtc \
http://people.freebsd.org/~nox/tmp/distfiles/:dtc
MASTER_SITES= GH
PKGNAMESUFFIX?= -sbruno
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
dtc-v1.4.0${EXTRACT_SUFX}:dtc
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= qemu/${PORTVERSION}
MAINTAINER= sbruno@FreeBSD.org
@ -19,7 +16,7 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= seanbruno
GH_PROJECT= ${PORTNAME}-bsd-user
GH_TAGNAME= 1c182c5
GH_TAGNAME= cb766f5
HAS_CONFIGURE= yes
USES= gmake pkgconfig bison perl5 python:2,build
USE_PERL5= build
@ -67,12 +64,14 @@ USE_XORG= pixman
BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20
.else
USE_GNOME+= glib20
BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc
.endif
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --extra-ldflags=-L\"${LOCALBASE}/lib\"
CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib
CONFIGURE_ARGS+= --extra-cflags=-I${LOCALBASE}/include
CONFIGURE_ARGS+= --disable-libssh2
PORTDOCS= docs qemu-doc.html
@ -253,7 +252,6 @@ PLIST_SUB+= LINUXBOOT_DMA=""
.endif
post-patch:
@${MV} ${WRKDIR}/dtc ${WRKSRC}
@${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure
# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
.if (${OSVERSION} < 1100000)

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1499792378
SHA256 (qemu/2.9.50.g20170711/seanbruno-qemu-bsd-user-2.9.50.g20170711-1c182c5_GH0.tar.gz) = 2abe9de521335fcf7b596ec344e11d394a185851f0e1ff49b67855087c87a973
SIZE (qemu/2.9.50.g20170711/seanbruno-qemu-bsd-user-2.9.50.g20170711-1c182c5_GH0.tar.gz) = 14209487
SHA256 (qemu/2.9.50.g20170711/dtc-v1.4.0.tar.gz) = 39d0713efd82a27adc065ecb9ef36401c53d5ee87ae1764e2bb243fcd97488e3
SIZE (qemu/2.9.50.g20170711/dtc-v1.4.0.tar.gz) = 131893
TIMESTAMP = 1500307124
SHA256 (qemu/2.9.50.g20170717/seanbruno-qemu-bsd-user-2.9.50.g20170717-cb766f5_GH0.tar.gz) = 324cb4c2001a0ccc9d20e244ea5a4b23ce52eae2bff9c3925d3fad8fce1287c1
SIZE (qemu/2.9.50.g20170717/seanbruno-qemu-bsd-user-2.9.50.g20170717-cb766f5_GH0.tar.gz) = 14562773

View File

@ -169,14 +169,4 @@ processing error - resetting ehci HC
messages on qemu's tty try disabling TSO etc on the host interface at least
while using pcap.
- kqemu is no longer supported in qemu upstream after the 0.11 branch
was created, which means also not in this version. (Linux has moved
on to kvm now for qemu(-like) virtualization needs, so if you want qemu
to go faster and don't want to switch to virtualbox or stick to the older
emulators/qemu port which is at 0.11.1 atm and as such still supports
kqemu you should help getting the FreeBSD kvm port updated and
completed:
http://wiki.freebsd.org/FabioChecconi/PortingLinuxKVMToFreeBSD
)