From 966c4864a8e27389b748ad7d79b6172f14a302be Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 20 Apr 2024 22:08:06 +0200 Subject: sysutils/plasma5-kinfocenter: fix build without dmidecode available --- sysutils/plasma5-kinfocenter/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysutils/plasma5-kinfocenter/Makefile b/sysutils/plasma5-kinfocenter/Makefile index c72c0c8094c9..b0fc8f6a9754 100644 --- a/sysutils/plasma5-kinfocenter/Makefile +++ b/sysutils/plasma5-kinfocenter/Makefile @@ -7,7 +7,6 @@ COMMENT= Plasma5 utility providing system information WWW= https://www.kde.org/plasma-desktop RUN_DEPENDS= clinfo:devel/clinfo \ - dmidecode:sysutils/dmidecode \ glxinfo:graphics/mesa-demos \ lscpu:sysutils/lscpu \ vulkaninfo:graphics/vulkan-tools \ @@ -28,6 +27,10 @@ USE_XORG= ice sm x11 xext # TODO -- this should be handled correctly... LDFLAGS+=-ldevinfo +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 +RUN_DEPENDS+= dmidecode:sysutils/dmidecode +.endif + # install freebsd-logo and distrorc post-install: ${MKDIR} ${STAGEDIR}/${DATADIR}/images -- cgit v1.2.3