From 46b28c04d9018e9220d1e7e1b990210cd6c80ac1 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 14 Nov 2022 15:40:04 +0000 Subject: [PATCH] bundle libudev.so from sysutils/libudev-openbsd for now until it gets enabled in the builds so that fido hotplug can be used in the meantime --- www/chromium/Makefile | 5 +++++ www/chromium/pkg/PLIST | 1 + 2 files changed, 6 insertions(+) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 66c9d0c5d11..e3eabf63ca3 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -7,6 +7,7 @@ DPB_PROPERTIES= parallel parallel2 COMMENT= Chromium browser V= 107.0.5304.110 +REVISION= 0 DISTNAME= chromium-${V} @@ -93,6 +94,8 @@ LIB_DEPENDS= archivers/snappy \ print/cups,-libs \ ${MODGCC4_CPPLIBDEP} +BUILD_DEPENDS+= sysutils/libudev-openbsd:build + .include # Set BUILDTYPE to Release @@ -302,6 +305,8 @@ do-install: unveil.utility_network unveil.utility_video ${INSTALL_DATA} ${FILESDIR}/${f} ${PREFIX}/share/examples/chromium .endfor + ${INSTALL_DATA} ${WRKDIR}/sysutils/libudev-openbsd/build-${MACHINE_ARCH}/libudev.so.0.0 \ + ${PREFIX}/${DIST_TARGET_DIR}/libudev.so.0 pre-test: .for _d in ${REGRESS_DISTFILES:C/:[0-9]$//} diff --git a/www/chromium/pkg/PLIST b/www/chromium/pkg/PLIST index 3c1dd8ac4b6..486afc3c9d4 100644 --- a/www/chromium/pkg/PLIST +++ b/www/chromium/pkg/PLIST @@ -11,6 +11,7 @@ chrome/headless_lib_strings.pak @so chrome/libGLESv2.so %%component%% @so chrome/libVkICD_mock_icd.so +chrome/libudev.so.0 @so chrome/libvulkan.so chrome/locales/ chrome/locales/af.pak