|
|
@@ -33,16 +33,17 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Web
|
|
|
License: GPL
|
|
|
Version: 3.2.0b3
|
|
|
-Release: 20030117
|
|
|
+Release: 20030613
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.htdig.org/files/htdig-%{version}.tar.gz
|
|
|
+Source1: htdig.patch.pl
|
|
|
Patch0: htdig.patch
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20021204, make, flex, zlib, gcc
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20021204, make, flex, zlib, gcc, perl
|
|
|
PreReq: OpenPKG, openpkg >= 20021204
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -61,14 +62,14 @@ AutoReqProv: no
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch -p0
|
|
|
+ %{l_prefix}/bin/perl %{SOURCE htdig.patch.pl} htcommon/defaults.cc
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
- CXX="%{l_cxx}" \
|
|
|
- CFLAGS="%{l_cflags -O} -Wno-deprecated" \
|
|
|
- CPPFLAGS="%{l_cppflags} -Wno-deprecated" \
|
|
|
- CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
|
|
|
- CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
|
|
|
+ CXX="%{l_cxx} -Wno-deprecated" \
|
|
|
+ CPPFLAGS="%{l_cppflags}" \
|
|
|
+ CFLAGS="%{l_cflags -O}" \
|
|
|
+ CXXFLAGS="%{l_cxxflags -O}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-config-dir=%{l_prefix}/etc/htdig \
|