commit 436cbff480619422c60393df2a054100e758ff68
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Wed Jun 28 12:53:27 2017 +0200

    - rel 4; fix builds

 ....26-Fix-building-on-Perl-without-.-in-INC.patch | 31 ++++++++++++++++++++++
 perl-libintl.spec                                  |  4 ++-
 2 files changed, 34 insertions(+), 1 deletion(-)
---
diff --git a/perl-libintl.spec b/perl-libintl.spec
index f922fc7..e49273a 100644
--- a/perl-libintl.spec
+++ b/perl-libintl.spec
@@ -8,12 +8,13 @@ Summary:      Internationalization library for Perl
 Summary(pl.UTF-8):     Biblioteka umiędzynaradawiająca Perla
 Name:          perl-libintl
 Version:       1.26
-Release:       3
+Release:       4
 License:       LGPL v2+
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-authors/id/G/GU/GUIDO/%{pnam}-%{version}.tar.gz
 # Source0-md5: d355998f5f33a6f4202cd7ded7bf052a
 URL:           http://search.cpan.org/dist/libintl-perl/
+Patch0:                
libintl-perl-1.26-Fix-building-on-Perl-without-.-in-INC.patch
 BuildRequires: gdbm-devel
 %{?with_tests:BuildRequires:   glibc-localedb-all}
 BuildRequires: perl-devel >= 1:5.8.0
@@ -32,6 +33,7 @@ zaimplementowanym na przykład w gettexcie GNU.
 
 %prep
 %setup -q -n %{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/libintl-perl-1.26-Fix-building-on-Perl-without-.-in-INC.patch 
b/libintl-perl-1.26-Fix-building-on-Perl-without-.-in-INC.patch
new file mode 100644
index 0000000..c74e7f2
--- /dev/null
+++ b/libintl-perl-1.26-Fix-building-on-Perl-without-.-in-INC.patch
@@ -0,0 +1,31 @@
+From 70ca3b6f3e6b02bec419e944a937fd1b19b0decc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
+Date: Mon, 15 May 2017 14:26:38 +0200
+Subject: [PATCH] Fix building on Perl without "." in @INC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CPAN RT#120446
+
+Signed-off-by: Petr Písař <[email protected]>
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 898040d..5b25425 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -182,7 +182,7 @@ sub tools_other
+       my $fragment = $self->SUPER::tools_other (@_);
+ 
+       $fragment =~ s/^MOD_INSTALL\s*=\s*(.*?)-MExtUtils::Install
+-              /MOD_INSTALL =$1-MMyInstall/msx;
++              /MOD_INSTALL =$1-I. -MMyInstall/msx;
+ 
+       return $fragment;
+ }
+-- 
+2.9.4
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-libintl.git/commitdiff/436cbff480619422c60393df2a054100e758ff68

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to