diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-04-20 20:08:06 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-04-24 21:21:14 +0000 |
commit | 966c4864a8e27389b748ad7d79b6172f14a302be (patch) | |
tree | 6b93fcd6eeeb813eb5bbf4842b62b68635c1f92b | |
parent | a0f774de061d2c484393fcadeda2817bc5fda19b (diff) | |
download | ports-966c4864a8e27389b748ad7d79b6172f14a302be.tar.gz ports-966c4864a8e27389b748ad7d79b6172f14a302be.zip |
sysutils/plasma5-kinfocenter: fix build without dmidecode available
-rw-r--r-- | sysutils/plasma5-kinfocenter/Makefile | 5 |
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 |