git: 4737238b74a6 - main - net-mgmt/virt-viewer: Add missing USES=perl5 and unbreak

Tobias Kortkamp tobik at FreeBSD.org
Sat May 1 18:34:05 UTC 2021


The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4737238b74a607dfd86972ceee750e7f7646ad61

commit 4737238b74a607dfd86972ceee750e7f7646ad61
Author:     Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-05-01 10:58:04 +0000
Commit:     Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-05-01 17:55:56 +0000

    net-mgmt/virt-viewer: Add missing USES=perl5 and unbreak
    
    While here convert VTE option to helpers.
    
    Reported by:    portscan (USE_PERL5 without USES=perl5)
---
 net-mgmt/virt-viewer/Makefile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/virt-viewer/Makefile b/net-mgmt/virt-viewer/Makefile
index 8ae88e1b42f2..c538c03dab4a 100644
--- a/net-mgmt/virt-viewer/Makefile
+++ b/net-mgmt/virt-viewer/Makefile
@@ -11,7 +11,8 @@ COMMENT=	Provides a graphical viewer for a guest OS display
 LICENSE=	GPLv2
 
 USES=		cpe desktop-file-utils gettext gettext-tools gmake gnome \
-		libtool meson pkgconfig python:3.6+,build shared-mime-info xorg tar:xz
+		libtool meson perl5 pkgconfig python:3.6+,build \
+		shared-mime-info tar:xz xorg
 CPE_VENDOR=	redhat
 USE_GNOME=	gtk30 libxml2
 INSTALLS_ICONS=	yes
@@ -38,12 +39,7 @@ SPICE_MESON_ENABLED=	spice
 VNC_LIB_DEPENDS=	libgtk-vnc-2.0.so:net/gtk-vnc
 VNC_MESON_ENABLED=	vnc
 
+VTE_USE=		GNOME=vte3
 VTE_MESON_ENABLED=	vte
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MVTE}
-USE_GNOME+=	vte3
-.endif
-
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list