summaryrefslogtreecommitdiff
path: root/www/qt6-webengine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/qt6-webengine/Makefile')
-rw-r--r--www/qt6-webengine/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile
index 625fa2976dc4..e363ec6cf930 100644
--- a/www/qt6-webengine/Makefile
+++ b/www/qt6-webengine/Makefile
@@ -12,7 +12,7 @@
PORTNAME?= webengine
DISTVERSION= ${QT6_VERSION}
-PORTREVISION?= 1 # Master port for print/qt6-pdf. Please keep this line.
+PORTREVISION?= 2 # Master port for print/qt7-pdf. Please keep this line.
CATEGORIES?= www
PKGNAMEPREFIX= qt6-
@@ -50,6 +50,7 @@ LIB_DEPENDS+= libabsl_base.so:devel/abseil \
libavcodec.so:multimedia/ffmpeg \
libdbus-1.so:devel/dbus \
libdrm.so:graphics/libdrm \
+ libepoll-shim.so:devel/libepoll-shim \
libevent.so:devel/libevent \
libexpat.so:textproc/expat2 \
libfontconfig.so:x11-fonts/fontconfig \
@@ -63,6 +64,7 @@ LIB_DEPENDS+= libabsl_base.so:devel/abseil \
libre2.so:devel/re2 \
libsnappy.so:archivers/snappy \
libtiff.so:graphics/tiff \
+ libudev.so:devel/libudev-devd \
libvpx.so:multimedia/libvpx \
libwebp.so:graphics/webp
@@ -76,6 +78,8 @@ USE_XORG+= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \
CMAKE_ON+= QT_FEATURE_qtwebengine_build
CMAKE_OFF+= QT_FEATURE_qtpdf_build
+CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim
+
SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus
.endif
@@ -135,12 +139,6 @@ SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON
SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF
.endif
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386 || ${ARCH} == armv7
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-32bit-compress_files_js
-.endif
-
post-extract:
@${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \
${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \
@@ -180,4 +178,4 @@ post-install-DRIVER-on:
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>