SHA256
1
0
forked from pool/gsoap
2018-02-14 20:37:05 +00:00
committed by Git OBS Bridge
parent e76ff8e262
commit c3c35a9bf6
3 changed files with 26 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch1: gsoap-automake1_13.diff
Patch2: gsoap-01-sharedlibs.diff
Patch3: xlocale.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@@ -83,7 +84,7 @@ This subpackage contains the documentation for the gSOAP toolkit.
%prep
%setup -q
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
%patch -P 1 -P 2 -p1
%patch -P 1 -P 2 -P 3 -p1
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
%build
@@ -95,6 +96,8 @@ perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \
# Also needed because Makefile.am and configure.ac are touched.
autoreconf -fi
export CXXFLAGS="-O0 -ggdb3"
export CFLAGS="-O0 -ggdb3"
%configure --enable-ipv6 --disable-static
pushd gsoap/src/
# build prerequisites for parallel build first