[packages/perl-CGI-SpeedyCGI] - rel 30; fix build

arekm arekm at pld-linux.org
Wed Jun 28 13:19:54 CEST 2017


commit 8f33f0bdc45e286823f114c1f239a1c2af8f3471
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jun 28 13:19:48 2017 +0200

    - rel 30; fix build

 ...edyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch | 12 ++++++++++++
 perl-CGI-SpeedyCGI.spec                                      |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/perl-CGI-SpeedyCGI.spec b/perl-CGI-SpeedyCGI.spec
index cd1ab52..7a83852 100644
--- a/perl-CGI-SpeedyCGI.spec
+++ b/perl-CGI-SpeedyCGI.spec
@@ -13,7 +13,7 @@ Summary:	Speed up perl CGI scripts by running them persistently
 Summary(pl.UTF-8):	Moduł przyspieszający perlowe skrypty CGI
 Name:		perl-CGI-SpeedyCGI
 Version:	2.22
-Release:	29
+Release:	30
 License:	GPL v2+
 Group:		Networking/Daemons
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -23,6 +23,7 @@ Patch0:		%{name}-DESTDIR.patch
 Patch1:		%{name}-APXS.patch
 Patch2:		%{name}-debian.patch
 Patch3:		bad-inline.patch
+Patch4:		CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch
 URL:		http://daemoninc.com/SpeedyCGI/
 %{?with_apache2:BuildRequires:	apache-devel}
 %{?with_apache1:BuildRequires:	apache1-devel}
@@ -90,6 +91,7 @@ Moduł apache SpeedyCGI.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__perl} Makefile.PL </dev/null \
diff --git a/CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch b/CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch
new file mode 100644
index 0000000..074806a
--- /dev/null
+++ b/CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch
@@ -0,0 +1,12 @@
+diff -up CGI-SpeedyCGI-2.22/Makefile.PL.orig CGI-SpeedyCGI-2.22/Makefile.PL
+--- CGI-SpeedyCGI-2.22/Makefile.PL.orig	2017-05-16 09:23:56.902717537 +0200
++++ CGI-SpeedyCGI-2.22/Makefile.PL	2017-05-16 09:21:03.489446240 +0200
+@@ -2,7 +2,7 @@
+ use strict;
+ use ExtUtils::MakeMaker;
+ BEGIN {
+-    require 'src/SpeedyMake.pl';
++    require './src/SpeedyMake.pl';
+     import SpeedyMake qw(%write_makefile_common);
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI-SpeedyCGI.git/commitdiff/8f33f0bdc45e286823f114c1f239a1c2af8f3471



More information about the pld-cvs-commit mailing list