aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-04-20 20:08:06 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-04-24 21:21:14 +0000
commit966c4864a8e27389b748ad7d79b6172f14a302be (patch)
tree6b93fcd6eeeb813eb5bbf4842b62b68635c1f92b
parenta0f774de061d2c484393fcadeda2817bc5fda19b (diff)
downloadports-966c4864a8e27389b748ad7d79b6172f14a302be.tar.gz
ports-966c4864a8e27389b748ad7d79b6172f14a302be.zip
sysutils/plasma5-kinfocenter: fix build without dmidecode available
-rw-r--r--sysutils/plasma5-kinfocenter/Makefile5
1 files changed, 4 insertions, 1 deletions
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