- really make swig bindings build again

This commit is contained in:
jorton 2005-03-22 09:55:19 +00:00
parent 6fd2448974
commit 74bbdae64a
1 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@ Patch6: subversion-1.0.3-pie.patch
Patch7: subversion-1.1.3-java.patch
Patch8: subversion-1.1.3-filepathver.patch
BuildPreReq: autoconf, libtool, python, python-devel, texinfo
BuildPreReq: db4-devel >= 4.1.25, swig >= 1.3.22, docbook-style-xsl
BuildPreReq: db4-devel >= 4.1.25, swig >= 1.3.20-1, docbook-style-xsl
BuildPreReq: apr-devel, apr-util-devel, neon-devel >= 0:0.24.7-1
BuildRoot: %{_tmppath}/%{name}-root
@ -111,8 +111,9 @@ perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.i
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
--without-swig --with-neon=%{_prefix} \
--with-apxs=%{_sbindir}/apxs --disable-mod-activation
--with-swig --with-neon=%{_prefix} \
--with-apxs=%{_sbindir}/apxs --disable-mod-activation \
--enable-swig-bindings=perl,python%{?_with_java:,java}
make %{?_smp_mflags} all
make swig-pl swig-py %{?_with_java:javahl} %{swigdirs}