|
|
@@ -38,7 +38,7 @@ Class: PLUS
|
|
|
Group: Network
|
|
|
License: GPL
|
|
|
Version: %{V_api_c}
|
|
|
-Release: 20041007
|
|
|
+Release: 20041008
|
|
|
|
|
|
# package options
|
|
|
%option with_perl no
|
|
|
@@ -86,12 +86,14 @@ AutoReqProv: no
|
|
|
Makefile.in */Makefile.in
|
|
|
|
|
|
%build
|
|
|
+ echo "ac_cv_func_gethostbyname_r=no" >config.cache
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
|
LDFLAGS="%{l_ldflags}" \
|
|
|
LIBS="-lz" \
|
|
|
./configure \
|
|
|
+ --cache-file=./config.cache \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--sysconfdir=%{l_prefix}/etc/geoip \
|
|
|
--mandir=$RPM_BUILD_ROOT%{l_prefix}/man \
|