summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild b/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
index 51efb3492afb..22f737562833 100644
--- a/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
+++ b/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
@@ -16,3 +16,10 @@ KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="dev-qt/qtbase:6[gui,ssl]"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Do not look for Qt5
+ sed -e "s/Qt5//" -i CMakeLists.txt || die
+
+ cmake_src_prepare
+}