Author: qboosh                       Date: Sat Aug 25 22:40:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated kernelcc patch, fixed build without kernel

---- Files affected:
SPECS:
   lirc.spec (1.142 -> 1.143) 

---- Diffs:

================================================================
Index: SPECS/lirc.spec
diff -u SPECS/lirc.spec:1.142 SPECS/lirc.spec:1.143
--- SPECS/lirc.spec:1.142       Sat Aug 25 23:46:00 2007
+++ SPECS/lirc.spec     Sun Aug 26 00:40:20 2007
@@ -590,18 +590,13 @@
 %{__autoheader}
 %{__autoconf}
 
-# Workround needed for configure script to find kernelcc
-%if %{with dist_kernel}
-%define                cfg     dist
-%else
-%define                cfg     nondist
-%else
-[ -r "%{_kernelsrcdir}/config-%{cfg}" ] || exit 1      
-rm -rf o
-install -d o/include/linux
-ln -sf %{_kernelsrcdir}/include/linux/autoconf-%{cfg}.h 
o/include/linux/autoconf.h
 %configure \
        ac_cv_header_portaudio_h=no \
+%if %{with kernel}
+       KERNELCC="%{kgcc}" \
+%else
+       ac_cv_have_kernel="no_kernel=yes" \
+%endif
        --with-kerneldir=%{_kernelsrcdir} \
        %{?with_x:--with-x} \
        --with-port=0x2f8 \
@@ -1001,6 +996,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.143  2007/08/25 22:40:20  qboosh
+- updated kernelcc patch, fixed build without kernel
+
 Revision 1.142  2007/08/25 21:46:00  qboosh
 - updated todo
 - some cleanups/unifications
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lirc.spec?r1=1.142&r2=1.143&f=u

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

Reply via email to