Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2023 13:39:54 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8bfca3e68c84 - main - emulators/qemu: Fix missing LIB_DEPENDS
Message-ID:  <202302111339.31BDds16003992@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8bfca3e68c84ddae42ae7654490d5cc9a011a96d

commit 8bfca3e68c84ddae42ae7654490d5cc9a011a96d
Author:     Maksym Sobolyev <sobomax@sippysoft.com>
AuthorDate: 2023-02-11 13:36:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-11 13:39:24 +0000

    emulators/qemu: Fix missing LIB_DEPENDS
    
    Add net/libslirp into LIB_DEPENDS, now required for making user
    networking functional.
    
    In qemu 7.2 release the slirp code has been moved out of the source
    package and is enabled/disabled at the build time based on the
    availability of the libslirp shared library. As such, it needs to be
    added into LIB_DEPENDS to make this feature available in the quemu
    package.
    
    See
    https://wiki.qemu.org/ChangeLog/7.2#Removal_of_the_.22slirp.22_submodule_.28affects_.22-netdev_user.22.29
    for a reference.
    
    PR:             269475
    Reported by:    sobomax
---
 emulators/qemu/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 574efdcd571f..262adb57f46b 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	qemu
 PORTVERSION=	7.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.qemu.org/
 DIST_SUBDIR=	qemu/${PORTVERSION}
@@ -19,7 +19,8 @@ ONLY_FOR_ARCHS=	aarch64 amd64 i386 powerpc64 powerpc64le
 BUILD_DEPENDS=	bash:shells/bash
 .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent
 LIB_DEPENDS+=	libfdt.so:sysutils/dtc \
-		libzstd.so:archivers/zstd
+		libzstd.so:archivers/zstd \
+		libslirp.so:net/libslirp
 .endif
 .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent)
 LIB_DEPENDS+=	libepoxy.so:graphics/libepoxy



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