summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:52:31 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:52:31 +0200
commit80b03b2f7d0021d1704bb21ac952b5cc9f76a675 (patch)
tree5ab2a62d7e03e768e0c27e274bc1954711d4517c /redhat/tdebase
parentb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (diff)
downloadtde-packaging-80b03b2f7d0021d1704bb21ac952b5cc9f76a675.tar.gz
tde-packaging-80b03b2f7d0021d1704bb21ac952b5cc9f76a675.zip
RPM Packaging: update existing SPEC files
Diffstat (limited to 'redhat/tdebase')
-rw-r--r--redhat/tdebase/trinity-kdebase-3.5.13.1.spec4
-rw-r--r--redhat/tdebase/trinity-kdebase-3.5.13.spec4
2 files changed, 4 insertions, 4 deletions
diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec b/redhat/tdebase/trinity-kdebase-3.5.13.1.spec
index ad481b77e..f58a045fb 100644
--- a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec
+++ b/redhat/tdebase/trinity-kdebase-3.5.13.1.spec
@@ -3105,8 +3105,8 @@ export KDEDIR=%{tde_prefix}
# Shitty hack for RHEL4 ...
if [ -d /usr/X11R6 ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
- export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
- export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.spec b/redhat/tdebase/trinity-kdebase-3.5.13.spec
index 13cfdd037..5e69920e9 100644
--- a/redhat/tdebase/trinity-kdebase-3.5.13.spec
+++ b/redhat/tdebase/trinity-kdebase-3.5.13.spec
@@ -3186,8 +3186,8 @@ export KDEDIR=%{tde_prefix}
# Shitty hack for RHEL4 ...
if [ -d /usr/X11R6 ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
- export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
- export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}