SPECS: apr.spec - epoll, tcpnodelaycork bconds; --enable-nonportab...

arekm arekm at pld-linux.org
Sat Nov 5 23:18:38 CET 2005


Author: arekm                        Date: Sat Nov  5 22:18:38 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- epoll, tcpnodelaycork bconds; --enable-nonportable-atomics on amd64; FYI: disabling funcionality due to kernel24 crap sucks

---- Files affected:
SPECS:
   apr.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/apr.spec
diff -u SPECS/apr.spec:1.39 SPECS/apr.spec:1.40
--- SPECS/apr.spec:1.39	Wed Nov  2 20:11:50 2005
+++ SPECS/apr.spec	Sat Nov  5 23:18:31 2005
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+%bcond_with	epoll
+%bcond_with	tcpnodelaycork
 Summary:	Apache Portable Runtime
 Summary(pl):	Apache Portable Runtime - przenośna biblioteka uruchomieniowa
 Name:		apr
@@ -77,7 +79,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+%{!?with_epoll:%patch2 -p1}
 
 %build
 install /usr/share/automake/config.* build
@@ -85,12 +87,12 @@
 # disable TCP_NODELAY|TCP_CORK for 2.4.x compatibility (to be dropped after Ac)
 # 2.4/2.6 kernels on sparc32 do not support sendfile64
 %configure \
-	apr_cv_tcp_nodelay_with_cork=no \
+	%{!?with_tcpnodelaycork:apr_cv_tcp_nodelay_with_cork=no} \
 %ifarch sparc sparcv9
 	ac_cv_func_sendfile64=no \
 %endif
 	--with-devrandom=/dev/urandom \
-%ifarch %{ix86}
+%ifarch %{ix86} %{i8664}
 %ifnarch i386
 	--enable-nonportable-atomics \
 %endif
@@ -156,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2005/11/05 22:18:31  arekm
+- epoll, tcpnodelaycork bconds; --enable-nonportable-atomics on amd64; FYI: disabling funcionality due to kernel24 crap sucks
+
 Revision 1.39  2005/11/02 19:11:50  glen
 - use system autotools in -devel
 
================================================================

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




More information about the pld-cvs-commit mailing list