summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdeio-locate
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdeio-locate')
-rw-r--r--redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
index d413e41f1..ef65bd1dc 100644
--- a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
+++ b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
@@ -75,6 +75,11 @@ unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build