SPECS: grub2.spec - builds for me too when switching to gawk

glen glen at pld-linux.org
Tue Dec 5 19:23:33 CET 2006


Author: glen                         Date: Tue Dec  5 18:23:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds for me too when switching to gawk

---- Files affected:
SPECS:
   grub2.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/grub2.spec
diff -u SPECS/grub2.spec:1.32 SPECS/grub2.spec:1.33
--- SPECS/grub2.spec:1.32	Tue Dec  5 18:41:41 2006
+++ SPECS/grub2.spec	Tue Dec  5 19:23:27 2006
@@ -20,6 +20,7 @@
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 BuildRequires:	bison
+BuildRequires:	gawk
 BuildRequires:	libtool
 %ifarch %{ix86} %{x8664}
 BuildRequires:	lzo-devel >= 1.0.2
@@ -110,11 +111,14 @@
 #for rmk in conf/*.rmk; do
 #  ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
 #done
-CFLAGS="-Os %{?debug:-g}"; export CFLAGS
+export CFLAGS="-Os %{?debug:-g}"
+
+# mawk stalls at ./genmoddep.awk, so force gawk
+AWK=gawk \
 %configure \
 	BUILD_CFLAGS="$CFLAGS"
 
-%{__make} \
+%{__make} -j1 \
 	BUILD_CFLAGS="$CFLAGS" \
 %if %{with static}
 %ifarch %{ix86} %{x8664}
@@ -127,7 +131,6 @@
 %endif
 	pkgdatadir="%{_libdir}/%{name}"
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -164,6 +167,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2006/12/05 18:23:27  glen
+- builds for me too when switching to gawk
+
 Revision 1.32  2006/12/05 17:41:41  darekr
 - BR: bison
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/grub2.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list