aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-05-01 10:58:04 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-05-01 17:55:56 +0000
commit4737238b74a607dfd86972ceee750e7f7646ad61 (patch)
treeee19f8e88d2d77aed1e0868ba7f641d96aade679
parent6707a3c942b51ab3e3cf110383e3119dfe2e49b0 (diff)
downloadports-4737238b74a607dfd86972ceee750e7f7646ad61.tar.gz
ports-4737238b74a607dfd86972ceee750e7f7646ad61.zip
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)
-rw-r--r--net-mgmt/virt-viewer/Makefile10
1 files 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>