[uzbl] Fix CFLAGS exporting

Ben Boeckel mathstuf at fedoraproject.org
Sun Oct 10 20:17:11 UTC 2010


commit f36ae116fac895ffac876072e1714fceed044d1b
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Sun Oct 10 16:15:14 2010 -0400

    Fix CFLAGS exporting

 uzbl.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/uzbl.spec b/uzbl.spec
index b476116..e40b45f 100644
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -23,11 +23,13 @@ Patch1:		0001-Don-t-shell-interpret-SELECTED_URI-fixes-FS-240.patch
 Patch2:		0001-Fix-crash-on-Open-Image-in-New-Window-FS-231.patch
 Patch3:		0001-Use-the-global-configuration-as-a-fallback.patch
 Patch4:		0002-Fedora-specific-error-messages-on-no-configs.patch
+Patch5:		0001-Added-EXPOSE-signal.-It-may-be-used-to-resurect-scro.patch
+Patch6:		0002-Add-scroll-percentage-back-into-uzbl.patch
 Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	webkitgtk-devel
 BuildRequires:	desktop-file-utils
-BuildRequires:	pkg-config
+BuildRequires:	pkgconfig
 
 # New users probably want a tabbed browser
 Requires:	uzbl-tabbed = %{version}-%{release}
@@ -112,7 +114,9 @@ mv examples/data/uzbl.png icons/hicolor/32x32/apps
 
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}"
+CFLAGS="%{optflags}"
+export CFLAGS
+make %{?_smp_mflags}
 
 
 %install


More information about the scm-commits mailing list