Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2021 17:03:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562224 - head/emulators/qemu42
Message-ID:  <202101211703.10LH3AQZ097717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Jan 21 17:03:10 2021
New Revision: 562224
URL: https://svnweb.freebsd.org/changeset/ports/562224

Log:
  emulators/qemu-utils: restore package name after r562222
  
  - Copy dependency trimming from qemu to qemu42
  
  PR:		252498

Modified:
  head/emulators/qemu42/Makefile   (contents, props changed)

Modified: head/emulators/qemu42/Makefile
==============================================================================
--- head/emulators/qemu42/Makefile	Thu Jan 21 16:58:51 2021	(r562223)
+++ head/emulators/qemu42/Makefile	Thu Jan 21 17:03:10 2021	(r562224)
@@ -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?202101211703.10LH3AQZ097717>