summaryrefslogtreecommitdiff
path: root/sysutils/plasma6-kinfocenter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/plasma6-kinfocenter/Makefile')
-rw-r--r--sysutils/plasma6-kinfocenter/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/plasma6-kinfocenter/Makefile b/sysutils/plasma6-kinfocenter/Makefile
index 5f0adccec280..0bd26466aa22 100644
--- a/sysutils/plasma6-kinfocenter/Makefile
+++ b/sysutils/plasma6-kinfocenter/Makefile
@@ -8,6 +8,7 @@ COMMENT= View information about your computer's hardware
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
RUN_DEPENDS= clinfo:devel/clinfo \
glxinfo:graphics/mesa-demos \
+ hwdata>0:misc/hwdata \
lsblk:sysutils/lsblk \
lscpu:sysutils/lscpu \
pipewire:multimedia/pipewire \
@@ -30,6 +31,9 @@ USE_QT= base declarative
RUN_DEPENDS+= dmidecode:sysutils/dmidecode
.endif
+post-patch:
+ ${REINPLACE_CMD} '/usb.ids/s,/usr,${LOCALBASE},' ${WRKSRC}/kcms/usbview/usbdb.cpp
+
# install freebsd-logo and distrorc
post-install:
${MKDIR} ${STAGEDIR}/${DATADIR}/images