diff --git a/dns/qmdnsengine/Makefile b/dns/qmdnsengine/Makefile index c4d9f548b81e..0eb01b4222c0 100644 --- a/dns/qmdnsengine/Makefile +++ b/dns/qmdnsengine/Makefile @@ -1,18 +1,19 @@ PORTNAME= qmdnsengine DISTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Multicast DNS library for Qt applications WWW= https://github.com/nitroshare/qmdnsengine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= cmake compiler:c++11-lang qt:5 +USES= cmake compiler:c++11-lang qt:6 USE_GITHUB= yes GH_ACCOUNT= nitroshare -USE_QT= core network buildtools:build qmake:build +USE_QT= base tools:build USE_LDCONFIG= yes .include diff --git a/dns/qmdnsengine/files/patch-CMakeLists.txt b/dns/qmdnsengine/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..0a9cf43876ac --- /dev/null +++ b/dns/qmdnsengine/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2026-07-21 10:49:08 UTC ++++ CMakeLists.txt +@@ -25,7 +25,7 @@ endif() + message( STATUS "QMdnsEngine: Use CMAKE_PREFIX_PATH to locate Qt version to be used: ${CMAKE_PREFIX_PATH}" ) + endif() + +-find_package(QT NAMES Qt6 Qt5 COMPONENTS Network REQUIRED) ++find_package(QT NAMES Qt6 COMPONENTS Network REQUIRED) + message( STATUS "QMdnsEngine: Found Qt Version: ${QT_VERSION}" ) + + if (${QT_VERSION_MAJOR} GREATER_EQUAL 6 )