Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2021 22:50:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r562423 - in branches/2021Q1/emulators: qemu-utils qemu42
Message-ID:  <202101232250.10NMohDL071086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Jan 23 22:50:42 2021
New Revision: 562423
URL: https://svnweb.freebsd.org/changeset/ports/562423

Log:
  MFH: r562222 r562224
  
  emulators/qemu-utils: unbreak after r553312
  
  Due to many breaking changes temporarily switch to qemu42.
  
  ===>  Applying extra patch files/patch-configure
  1 out of 2 hunks failed--saving rejects to configure.rej
  ===>  Applying extra patch files/patch-Makefile
  2 out of 3 hunks failed--saving rejects to Makefile.rej
  ERROR: unknown option --disable-bluez
  strip: open ../stage/usr/local/bin/qemu-* failed: No such file or directory
  
  PR:		252498

Modified:
  branches/2021Q1/emulators/qemu-utils/Makefile
  branches/2021Q1/emulators/qemu42/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/emulators/qemu-utils/Makefile
==============================================================================
--- branches/2021Q1/emulators/qemu-utils/Makefile	Sat Jan 23 22:45:00 2021	(r562422)
+++ branches/2021Q1/emulators/qemu-utils/Makefile	Sat Jan 23 22:50:42 2021	(r562423)
@@ -5,8 +5,6 @@ PKGNAMESUFFIX=	-utils
 MAINTAINER=	ken@FreeBSD.org
 COMMENT=	QEMU userland utilities
 
-BROKEN=		fails to patch
-
 HAS_CONFIGURE=	yes
 USES=		compiler:c11 cpe gettext-runtime gmake gnome perl5 pkgconfig \
 		python:build tar:xz
@@ -18,7 +16,7 @@ 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
+MASTERDIR=	${.CURDIR}/../qemu42
 PLIST=		${.CURDIR}/pkg-plist
 DESCR=		${.CURDIR}/pkg-descr
 EXTRA_PATCHES=	${.CURDIR}/files/patch-configure

Modified: branches/2021Q1/emulators/qemu42/Makefile
==============================================================================
--- branches/2021Q1/emulators/qemu42/Makefile	Sat Jan 23 22:45:00 2021	(r562422)
+++ branches/2021Q1/emulators/qemu42/Makefile	Sat Jan 23 22:50:42 2021	(r562423)
@@ -5,7 +5,7 @@ PORTNAME=	qemu
 PORTVERSION=	4.2.1
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.qemu.org/
-PKGNAMESUFFIX=	42
+PKGNAMESUFFIX?=	42
 DIST_SUBDIR=	qemu/${PORTVERSION}
 
 MAINTAINER?=	bofh@FreeBSD.org
@@ -21,11 +21,13 @@ LIB_DEPENDS?=	libnettle.so:security/nettle \
 		libpcre2-8.so:devel/pcre2 \
 		libfdt.so:sysutils/dtc
 
+.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent")
 ONLY_FOR_ARCHS=	amd64 i386 powerpc powerpc64
 USES=		bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \
 		pkgconfig python:build tar:xz xorg
 USE_XORG=	pixman
 USE_GNOME=	cairo glib20 libxml2
+.endif
 
 USE_PERL5=	build
 
@@ -103,9 +105,11 @@ VDE_LIB_DEPENDS=	libvdeplug.so:net/vde2
 X11_CONFIGURE_ENABLE=	sdl
 X11_USE=	SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2
 X11_USES=	sdl
+.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent")
 X86_TARGETS_USE_OFF=	XORG=pixman,x11
 X86_TARGETS_USES_OFF=	xorg
 INSTALLS_ICONS=		yes
+.endif
 
 PORTDOCS?=	docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \
 	       	qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101232250.10NMohDL071086>