disable pcre module (#2128372)
This commit is contained in:
parent
268b19f9a6
commit
40c4fb0556
@ -14,7 +14,7 @@ Source: https://www.jedsoft.org/releases/%{name}/%{name}-%{version}.tar.bz2
|
|||||||
# disable test that fails with SIGHUP ignored (e.g. in koji)
|
# disable test that fails with SIGHUP ignored (e.g. in koji)
|
||||||
Patch2: slang-sighuptest.patch
|
Patch2: slang-sighuptest.patch
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc libpng-devel pcre-devel zlib-devel
|
BuildRequires: gcc libpng-devel zlib-devel
|
||||||
%{?with_oniguruma:BuildRequires: oniguruma-devel}
|
%{?with_oniguruma:BuildRequires: oniguruma-devel}
|
||||||
# static removed in 2.3.1a-3
|
# static removed in 2.3.1a-3
|
||||||
Obsoletes: slang-static < 2.3.1a-3
|
Obsoletes: slang-static < 2.3.1a-3
|
||||||
@ -57,11 +57,14 @@ based on the S-Lang extension language.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-{pcre,png,z}lib=%{_libdir} \
|
--with-{png,z}lib=%{_libdir} \
|
||||||
--with-{pcre,png,z}inc=%{_includedir} \
|
--with-{png,z}inc=%{_includedir} \
|
||||||
|
--without-pcre \
|
||||||
%if %{with oniguruma}
|
%if %{with oniguruma}
|
||||||
--with-oniglib=%{_libdir} \
|
--with-oniglib=%{_libdir} \
|
||||||
--with-oniginc=%{_includedir} \
|
--with-oniginc=%{_includedir} \
|
||||||
|
%else
|
||||||
|
--without-onig \
|
||||||
%endif
|
%endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user