diff options
Diffstat (limited to 'devel/qt6-base/Makefile')
-rw-r--r-- | devel/qt6-base/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile index e3ec93bddc7c..ec92164f3f97 100644 --- a/devel/qt6-base/Makefile +++ b/devel/qt6-base/Makefile @@ -1,6 +1,5 @@ PORTNAME= base DISTVERSION= ${QT6_VERSION} -PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- @@ -96,6 +95,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 |