4046fcf268
===> Configuring for qemu-utils-4.2.1 /usr/bin/patch /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile /usr/ports/emulators/qemu-utils/files/patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig 2019-08-08 19:18:25.578250000 +0000 |+++ Makefile 2019-08-08 19:20:21.482341000 +0000 -------------------------- Patching file /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile using Plan A... Hunk #1 failed at 355. Hunk #2 failed at 828. Hunk #3 succeeded at 932 with fuzz 2 (offset 47 lines). 2 out of 3 hunks failed--saving rejects to /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile.rej Reported by: pkg-fallout
93 lines
2.4 KiB
Makefile
93 lines
2.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PKGNAMESUFFIX= -utils
|
|
|
|
MAINTAINER= ken@FreeBSD.org
|
|
COMMENT= QEMU userland utilities
|
|
|
|
BROKEN= fails to configure
|
|
|
|
HAS_CONFIGURE= yes
|
|
USES= compiler:c11 cpe gettext-runtime gmake gnome perl5 pkgconfig \
|
|
python:build tar:xz
|
|
USE_GNOME+= glib20
|
|
MAKE_ENV+= BSD_MAKE="${MAKE}" PREFIX=${PREFIX}
|
|
CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* qemu-sbruno-*
|
|
|
|
OPTIONS_SLAVE= DOCS
|
|
OPTIONS_EXCLUDE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \
|
|
CDROM_DMA PCAP USBREDIR GNS3 X86_TARGETS \
|
|
STATIC_LINK NCURSES VDE
|
|
MASTERDIR= ${.CURDIR}/../qemu
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
EXTRA_PATCHES= ${.CURDIR}/files/patch-configure
|
|
PKGMESSAGE=
|
|
|
|
PORTDOCS= interop/* specs/*
|
|
|
|
CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"${LOCALBASE}/lib\" \
|
|
--mandir=${MANPREFIX}/man \
|
|
--prefix=${PREFIX} --cc=${CC} --disable-kvm \
|
|
--disable-linux-user --disable-linux-aio --disable-xen \
|
|
--python=${PYTHON_CMD} \
|
|
--extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \
|
|
--disable-curl \
|
|
--disable-gnutls \
|
|
--disable-gtk \
|
|
--disable-vte \
|
|
--disable-vnc-jpeg \
|
|
--disable-opengl \
|
|
--disable-usb-redir \
|
|
--disable-sdl \
|
|
--disable-system \
|
|
--disable-user \
|
|
--disable-guest-agent \
|
|
--disable-nettle \
|
|
--disable-gcrypt \
|
|
--disable-curses \
|
|
--disable-vnc \
|
|
--disable-virtfs \
|
|
--disable-brlapi \
|
|
--disable-fdt \
|
|
--disable-bluez \
|
|
--disable-kvm \
|
|
--disable-rdma \
|
|
--disable-vde \
|
|
--disable-netmap \
|
|
--disable-cap-ng \
|
|
--disable-attr \
|
|
--disable-vhost-net \
|
|
--disable-spice \
|
|
--disable-rbd \
|
|
--disable-libiscsi \
|
|
--disable-libnfs \
|
|
--disable-smartcard \
|
|
--disable-libusb \
|
|
--disable-usb-redir \
|
|
--disable-lzo \
|
|
--disable-snappy \
|
|
--disable-bzip2 \
|
|
--disable-seccomp \
|
|
--disable-coroutine-pool \
|
|
--disable-glusterfs \
|
|
--disable-tpm \
|
|
--disable-numa \
|
|
--disable-blobs
|
|
|
|
LIB_DEPENDS=
|
|
|
|
# qemu-utils must patch Makefile during pre-configure, because the master port
|
|
# also patches Makefile. We can't use EXTRA_PATCHES, because that happens
|
|
# before do-patch, and causes a conflict with the master port's patch. And we
|
|
# can't use post-patch, because the master port also defines that target.
|
|
pre-configure:
|
|
${PATCH} ${WRKSRC}/Makefile ${.CURDIR}/files/patch-Makefile
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-*
|
|
@${RMDIR} ${STAGEDIR}${DATADIR}
|
|
@${RM} -rf ${STAGEDIR}${PREFIX}/share
|
|
|
|
.include "${MASTERDIR}/Makefile"
|