Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2024 21:21:47 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 966c4864a8e2 - main - sysutils/plasma5-kinfocenter: fix build without dmidecode available
Message-ID:  <202404242121.43OLLlNd081943@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=966c4864a8e27389b748ad7d79b6172f14a302be

commit 966c4864a8e27389b748ad7d79b6172f14a302be
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-20 20:08:06 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-04-24 21:21:14 +0000

    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



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