- really make swig bindings build again
This commit is contained in:
parent
6fd2448974
commit
74bbdae64a
@ -26,7 +26,7 @@ Patch6: subversion-1.0.3-pie.patch
|
|||||||
Patch7: subversion-1.1.3-java.patch
|
Patch7: subversion-1.1.3-java.patch
|
||||||
Patch8: subversion-1.1.3-filepathver.patch
|
Patch8: subversion-1.1.3-filepathver.patch
|
||||||
BuildPreReq: autoconf, libtool, python, python-devel, texinfo
|
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
|
BuildPreReq: apr-devel, apr-util-devel, neon-devel >= 0:0.24.7-1
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
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}
|
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
|
||||||
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
||||||
--without-swig --with-neon=%{_prefix} \
|
--with-swig --with-neon=%{_prefix} \
|
||||||
--with-apxs=%{_sbindir}/apxs --disable-mod-activation
|
--with-apxs=%{_sbindir}/apxs --disable-mod-activation \
|
||||||
|
--enable-swig-bindings=perl,python%{?_with_java:,java}
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
make swig-pl swig-py %{?_with_java:javahl} %{swigdirs}
|
make swig-pl swig-py %{?_with_java:javahl} %{swigdirs}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user