summaryrefslogtreecommitdiffstats
path: root/redhat/kdegames/trinity-kdegames-3.5.12.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdegames/trinity-kdegames-3.5.12.spec')
-rw-r--r--redhat/kdegames/trinity-kdegames-3.5.12.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/kdegames/trinity-kdegames-3.5.12.spec b/redhat/kdegames/trinity-kdegames-3.5.12.spec
index 8ac91240b..1c382332f 100644
--- a/redhat/kdegames/trinity-kdegames-3.5.12.spec
+++ b/redhat/kdegames/trinity-kdegames-3.5.12.spec
@@ -81,6 +81,10 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
+%if 0%{?fedora} > 0
+export CXXFLAGS="${CXXFLAGS} -lkio"
+%endif
+
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
@@ -96,6 +100,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install
+export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%make_install