apr/apr.spec

changeset 486
87f4014366d2
parent 485
aa99e75f2e06
equal deleted inserted replaced
0:119d16352403 1:0dd912c238ea
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: BASE 35 Class: BASE
36 Group: Libraries 36 Group: Libraries
37 License: Apache 37 License: Apache
38 Version: %{V_apr} 38 Version: %{V_apr}
39 Release: 20120214 39 Release: 20120800
40 40
41 # package options 41 # package options
42 %option with_threads no 42 %option with_threads no
43 %option with_db no 43 %option with_db no
44 %option with_gdbm no 44 %option with_gdbm no
111 111
112 %prep 112 %prep
113 %setup -q -c 113 %setup -q -c
114 %setup -q -D -T -a 1 114 %setup -q -D -T -a 1
115 %patch -p0 115 %patch -p0
116 %{l_shtool} subst \
117 -e 's;APR_USE_PROC_PTHREAD_SERIALIZE;APR_HAS_PROC_PTHREAD_SERIALIZE;' \
118 apr-%{V_apr}/locks/unix/proc_mutex.c
116 119
117 %build 120 %build
118 ( cd apr-%{V_apr} 121 ( cd apr-%{V_apr}
119 CC="%{l_cc}" \ 122 CC="%{l_cc}" \
120 CFLAGS="%{l_cflags -O}" \ 123 CFLAGS="%{l_cflags -O}" \

mercurial