summaryrefslogtreecommitdiffstats
path: root/redhat/tdetoys
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-09-14 16:20:36 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-09-14 16:20:36 +0200
commita89bfaa6c8ee648f38797165346971c15da15875 (patch)
treee023f6e46560dfe494fe271d5082c0409ec98e5c /redhat/tdetoys
parentd8260a6ce3beb4f6aa74e66f9f9b56995a36d79e (diff)
downloadtde-packaging-a89bfaa6c8ee648f38797165346971c15da15875.tar.gz
tde-packaging-a89bfaa6c8ee648f38797165346971c15da15875.zip
RPM Packaging: update 3.5.13.2
Diffstat (limited to 'redhat/tdetoys')
-rw-r--r--redhat/tdetoys/tdetoys-3.5.13.2.spec6
1 files changed, 5 insertions, 1 deletions
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