- Fix ocaml check (swig-3.0.6.patch)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=81
This commit is contained in:
parent
8389bba7dd
commit
821800cf35
12
swig-3.0.6.patch
Normal file
12
swig-3.0.6.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-swig-3.0.6/configure.ac ./configure.ac
|
||||||
|
--- ../orig-swig-3.0.6/configure.ac 2015-07-05 18:59:41.000000000 +0200
|
||||||
|
+++ ./configure.ac 2015-07-06 10:19:14.832123159 +0200
|
||||||
|
@@ -1891,7 +1891,7 @@
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for Ocaml compiler)
|
||||||
|
if test -z "$OCAMLC"; then
|
||||||
|
- AC_CHECK_PROGS(OCAMLC, ocamlc, :)
|
||||||
|
+ AC_CHECK_PROGS(OCAMLC, ocamlc, )
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for Ocaml toplevel creator)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 6 08:43:00 UTC 2015 - kkaempf@suse.com
|
||||||
|
|
||||||
|
- Fix ocaml check (swig-3.0.6.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 6 06:22:21 UTC 2015 - kkaempf@suse.com
|
Mon Jul 6 06:22:21 UTC 2015 - kkaempf@suse.com
|
||||||
|
|
||||||
|
@ -25,7 +25,8 @@ Group: Development/Languages/C and C++
|
|||||||
Url: http://www.swig.org/
|
Url: http://www.swig.org/
|
||||||
Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.rpmlintrc
|
Source1: %{name}.rpmlintrc
|
||||||
|
# Ocaml detection is wrong
|
||||||
|
Patch: %{name}-%{version}.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
@ -119,9 +120,11 @@ understandig SWIG usage.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-ccache --without-ocaml
|
./autogen.sh
|
||||||
|
%configure --disable-ccache
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user