|
|
@@ -53,8 +53,8 @@ Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
-BuildPreReq: readline, openssl, db >= 4.2
|
|
|
-PreReq: readline, openssl, db >= 4.2
|
|
|
+BuildPreReq: readline, openssl, db >= 4.2, pth
|
|
|
+PreReq: readline, openssl, db >= 4.2, pth
|
|
|
%if "%{with_fsl}" == "yes"
|
|
|
BuildPreReq: fsl >= 1.2.0
|
|
|
PreReq: fsl >= 1.2.0
|
|
|
@@ -101,10 +101,10 @@ AutoReqProv: no
|
|
|
cf="%{l_cppflags}"
|
|
|
%endif
|
|
|
CC="%{l_cc}" \
|
|
|
- CFLAGS="%{l_cflags -O}" \
|
|
|
+ CFLAGS="%{l_cflags -O} `%{l_prefix}/bin/pth-config --cflags`" \
|
|
|
CPPFLAGS="$cf" \
|
|
|
- LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
|
|
|
- LIBS="%{l_fsl_libs}" \
|
|
|
+ LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/pth-config --ldflags` %{l_fsl_ldflags}" \
|
|
|
+ LIBS="`%{l_prefix}/bin/pth-config --libs` %{l_fsl_libs}" \
|
|
|
./configure \
|
|
|
--cache-file=./config.cache \
|
|
|
--prefix=%{l_prefix} \
|
|
|
@@ -153,6 +153,7 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
--with-dyngroup \
|
|
|
--with-proxycache \
|
|
|
+ --with-threads=pth \
|
|
|
--enable-slurpd
|
|
|
|
|
|
# build toolkit
|