Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2021 13:48:21 GMT
From:      =?utf-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8790f67654a9 - main - sysutils/xen-tools: improve ivshmem check
Message-ID:  <202105201348.14KDmL87004095@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by royger (src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=8790f67654a91e1befe878678329b207587c424d

commit 8790f67654a91e1befe878678329b207587c424d
Author:     Roger Pau Monné <royger@FreeBSD.org>
AuthorDate: 2021-05-20 12:04:57 +0000
Commit:     Roger Pau Monné <royger@FreeBSD.org>
CommitDate: 2021-05-20 13:48:07 +0000

    sysutils/xen-tools: improve ivshmem check
    
    There's no need to check twice for OPSYS, as there's already a check
    for OPSYS being FreeBSD in the makefile.
    
    Also bump the port revision.
    
    Approved by: bapt (implicit)
---
 sysutils/xen-tools/Makefile | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sysutils/xen-tools/Makefile b/sysutils/xen-tools/Makefile
index f73eb12cfae7..92263d86ee17 100644
--- a/sysutils/xen-tools/Makefile
+++ b/sysutils/xen-tools/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	xen
 PKGNAMESUFFIX=	-tools
 PORTVERSION=	4.15.0
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	sysutils emulators
 MASTER_SITES=	http://downloads.xenproject.org/release/xen/${PORTVERSION}/
 
@@ -58,12 +58,6 @@ DOCS_ALL_TARGET=	docs
 INSTALL_TARGET=		install-tools
 DOCS_INSTALL_TARGET=	install-docs
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
-PLIST_SUB+=	IVSHMEM=""
-.else
-PLIST_SUB+=	IVSHMEM="@comment "
-.endif
-
 .include <bsd.port.options.mk>
 
 .if ${OPSYS} != FreeBSD
@@ -78,6 +72,13 @@ IGNORE=		only supported on FreeBSD 12.0 or newer
 BROKEN=	SPICE support requires FreeBSD version 13.0 or higher
 .endif
 
+# ivshmem requires eventfd
+.if ${OSVERSION} >= 1300000
+PLIST_SUB+=	IVSHMEM=""
+.else
+PLIST_SUB+=	IVSHMEM="@comment "
+.endif
+
 post-patch:
 	@for p in `ls ${FILESDIR}/*qemuu*.patch 2>/dev/null`; do \
 		${ECHO_CMD} "====> Applying $${p##*/}" ; \



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