summaryrefslogtreecommitdiff
path: root/devel/qt6-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt6-base/Makefile')
-rw-r--r--devel/qt6-base/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile
index e3ec93bddc7c..9ccdc12070a0 100644
--- a/devel/qt6-base/Makefile
+++ b/devel/qt6-base/Makefile
@@ -1,6 +1,6 @@
PORTNAME= base
DISTVERSION= ${QT6_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
PKGNAMEPREFIX= qt6-
@@ -96,6 +96,13 @@ BUILD_DEPENDS+= as:devel/binutils
CMAKE_ARGS+= -DCMAKE_ASM_FLAGS=-no-integrated-as
.endif
+.if exists(/usr/include/sys/inotify.h)
+PLIST_SUB+= INOTIFY="" KQUEUE="@comment "
+EXTRA_PATCHES+= ${FILESDIR}/extrapatch-inotify
+.else
+PLIST_SUB+= INOTIFY="@comment " KQUEUE=""
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%OPENSSLLIB%%|${OPENSSLLIB}|g' \
${WRKSRC}/src/plugins/tls/openssl/qsslsocket_openssl_symbols.cpp