git: 00cab903f602 - main - emulators/86Box: Add vde to Makefile

From: Tiago Gasiba <tiga_at_FreeBSD.org>
Date: Thu, 09 Jul 2026 22:46:24 UTC
The branch main has been updated by tiga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00cab903f60289b134de646ef5d7c59351ddc842

commit 00cab903f60289b134de646ef5d7c59351ddc842
Author:     Tiago Gasiba <tiga@FreeBSD.org>
AuthorDate: 2026-07-09 22:41:47 +0000
Commit:     Tiago Gasiba <tiga@FreeBSD.org>
CommitDate: 2026-07-09 22:45:31 +0000

    emulators/86Box: Add vde to Makefile
    
    - Add net/vde2 as dependency for Network Distributed Ethernet
    - Bump portrevision
    - Pet Makefile
    
    PR:             295559
    Reported by:    Ariel Millennium Thornton <arielmt@thornton2.com>
    MFH:            2023Q3
---
 emulators/86Box/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile
index f081735851a9..eb9227186892 100644
--- a/emulators/86Box/Makefile
+++ b/emulators/86Box/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	86Box
 DISTVERSIONPREFIX=	v
 DISTVERSION=	6.0
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	tiga@FreeBSD.org
@@ -21,10 +22,11 @@ LIB_DEPENDS=	libevdev.so:devel/libevdev \
 		librtmidi.so:audio/rtmidi \
 		libslirp.so:net/libslirp \
 		libsndfile.so:audio/libsndfile \
+		libvdeplug.so:net/vde2 \
 		libxkbcommon.so:x11/libxkbcommon
 
-USES=		cmake compiler:c++11-lang gl gnome pkgconfig qmake qt:6 sdl \
-		xorg
+USES=		cmake compiler:c++11-lang desktop-file-utils gl gnome pkgconfig \
+		qmake qt:6 sdl xorg
 USE_GITHUB=	yes
 USE_GL=		opengl
 USE_GNOME=	glib20
@@ -40,6 +42,7 @@ CMAKE_ON_aarch64=	NEW_DYNAREC
 CMAKE_OFF=		${CMAKE_OFF_${ARCH}} DISCORD
 CMAKE_OFF_powerpc64le=	DYNAREC
 
+CFLAGS+=	-I${PREFIX}/include
 CXXFLAGS+=	-I${LOCALBASE}/include/qt6/QtGui/`pkg-config --modversion Qt6Gui`/QtGui
 
 SUB_FILES=	86Box-install-roms.sh
@@ -57,7 +60,8 @@ WAYLAND_USES=		kde:5
 WAYLAND_USE=		KDE=ecm:build
 WAYLAND_CMAKE_OFF=	-DCMAKE_DISABLE_FIND_PACKAGE_Wayland:BOOL=ON
 
-ICON_RESOLUTIONS=	128x128 16x16 20x20 24x24 256x256 32x32 40x40 48x48 64x64 72x72
+ICON_RESOLUTIONS=	128x128 16x16 20x20 24x24 256x256 32x32 40x40 48x48 \
+			64x64 72x72
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/.build/src/86Box ${STAGEDIR}${PREFIX}/bin