Author: sparky                       Date: Tue Nov 24 19:02:03 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- perl is not a part of minimal builder instalation, BR: sed >= 4.0 instead
- rpmldflags

---- Files affected:
packages/acpica:
   acpica.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/acpica/acpica.spec
diff -u packages/acpica/acpica.spec:1.8 packages/acpica/acpica.spec:1.9
--- packages/acpica/acpica.spec:1.8     Tue Jun 23 23:45:14 2009
+++ packages/acpica/acpica.spec Tue Nov 24 20:01:57 2009
@@ -11,6 +11,7 @@
 URL:           http://acpica.org/
 BuildRequires: bison
 BuildRequires: flex
+BuildRequires: sed >= 4.0
 Provides:      iasl
 Obsoletes:     iasl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,13 +27,17 @@
 %prep
 %setup -q -n %{name}-unix-%version
 
-find . -name Makefile |xargs perl -pi -e "s,-O2,%{rpmcflags},g"
+sed 's/-O2/$(OPTCFLAGS)/g' -i tools/acpisrc/Makefile compiler/Makefile
 
 %build
 %{__make} -C tools/acpisrc \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       OPTCFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 %{__make} -j1 -C compiler \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       OPTCFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +60,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/11/24 19:01:57  sparky
+- perl is not a part of minimal builder instalation, BR: sed >= 4.0 instead
+- rpmldflags
+
 Revision 1.8  2009/06/23 21:45:14  gotar
 - make -j1
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/acpica/acpica.spec?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to