summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec')
-rw-r--r--redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
index 76b227b0f..15d8e2748 100644
--- a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
@@ -549,6 +549,9 @@ ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
# fix .prl files
%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g"
+# fix QTDIR in 'qmake.conf'
+%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|"
+
%install
%__rm -rf %{buildroot}