Author: qboosh                       Date: Fri Dec  2 10:16:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable sendfile64 on 32-bit ppc; release 2

---- Files affected:
SPECS:
   apr.spec (1.41 -> 1.42) 

---- Diffs:

================================================================
Index: SPECS/apr.spec
diff -u SPECS/apr.spec:1.41 SPECS/apr.spec:1.42
--- SPECS/apr.spec:1.41 Tue Nov  8 20:18:41 2005
+++ SPECS/apr.spec      Fri Dec  2 11:16:07 2005
@@ -2,13 +2,18 @@
 #
 # Conditional build (Linux 2.4 compat, switch after Ac):
 %bcond_with    epoll           # use epoll() syscall (requires Linux 2.6)
+%bcond_with    sendfile64      # use sendfile64 on even if it requires Linux 
2.6
 %bcond_with    tcpnodelaycork  # use TCP_NODELAY|TCP_CORK flags (requires 
Linux 2.6)
 #
+# Linux 2.4.32 supports sendfile64 only on i386 and mips (only 32-bit archs 
matter)
+%ifnarch ppc sparc sparc64
+%define                with_sendfile64         1
+%endif
 Summary:       Apache Portable Runtime
 Summary(pl):   Apache Portable Runtime - przenoĊ›na biblioteka uruchomieniowa
 Name:          apr
 Version:       1.2.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
@@ -86,12 +91,9 @@
 %build
 install /usr/share/automake/config.* build
 ./buildconf
-# 2.4/2.6 kernels on sparc32 do not support sendfile64
 %configure \
        %{!?with_tcpnodelaycork:apr_cv_tcp_nodelay_with_cork=no} \
-%ifarch sparc sparcv9
-       ac_cv_func_sendfile64=no \
-%endif
+       %{!?with_sendfile64:ac_cv_func_sendfile64=no} \
        --with-devrandom=/dev/urandom \
 %ifarch %{ix86} %{i8664}
 %ifnarch i386
@@ -159,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.42  2005/12/02 10:16:07  qboosh
+- disable sendfile64 on 32-bit ppc; release 2
+
 Revision 1.41  2005/11/08 19:18:41  qboosh
 - bcond descs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apr.spec?r1=1.41&r2=1.42&f=u

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

Reply via email to