From a89bfaa6c8ee648f38797165346971c15da15875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 14 Sep 2013 16:20:36 +0200 Subject: RPM Packaging: update 3.5.13.2 --- redhat/tdetoys/tdetoys-3.5.13.2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'redhat/tdetoys') diff --git a/redhat/tdetoys/tdetoys-3.5.13.2.spec b/redhat/tdetoys/tdetoys-3.5.13.2.spec index 32e3cbc41..82895e0e0 100644 --- a/redhat/tdetoys/tdetoys-3.5.13.2.spec +++ b/redhat/tdetoys/tdetoys-3.5.13.2.spec @@ -384,9 +384,13 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR=%{tde_prefix} +# 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 -- cgit v1.2.1