forked from pool/apache2-mod_perl
Accepting request 349179 from home:vitezslav_cizek:branches:Apache:Modules
- fix mod_perl with perl 5.22 (boo#945195) * add mod_perl-add_support_for_perl_5.22.patch OBS-URL: https://build.opensuse.org/request/show/349179 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=62
This commit is contained in:
@@ -27,6 +27,8 @@ Group: Productivity/Networking/Web/Servers
|
||||
Url: http://perl.apache.org/
|
||||
Source0: http://apache.miloslavbrada.cz/perl/%{srcname}-%{version}.tar.gz
|
||||
Patch1: avoid-broken-provides.diff
|
||||
# PATCH-FIX-UPSTREAM http://svn.apache.org/viewvc?view=revision&revision=1717474
|
||||
Patch2: mod_perl-add_support_for_perl_5.22.patch
|
||||
BuildRequires: apache-rpm-macros
|
||||
BuildRequires: apache2-devel
|
||||
BuildRequires: db-devel
|
||||
@@ -101,6 +103,7 @@ software depending on apache2-mod_perl.
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor MP_APXS=%{apache_apxs} MP_APR_CONFIG=%{_bindir}/apr-1-config MP_CCOPTS="%{apache_cflags} -fgnu89-inline"
|
||||
|
Reference in New Issue
Block a user