]> git.pld-linux.org Git - packages/perl-Authen-PAM.git/commitdiff
- perl 5.26 build fix auto/th/perl-Authen-PAM-0.16-18
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Jun 2017 13:24:58 +0000 (15:24 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Jun 2017 13:24:58 +0000 (15:24 +0200)
- rel 18

no-dot-in-INC.patch [new file with mode: 0644]
perl-Authen-PAM.spec

diff --git a/no-dot-in-INC.patch b/no-dot-in-INC.patch
new file mode 100644 (file)
index 0000000..25fcec2
--- /dev/null
@@ -0,0 +1,11 @@
+--- Authen-PAM-0.16/Makefile.PL~       2005-06-06 15:29:12.000000000 +0200
++++ Authen-PAM-0.16/Makefile.PL        2017-06-12 15:23:58.561674368 +0200
+@@ -10,7 +10,7 @@
+     # returns a reference to anonymous hash which is then interpreted as
+     # additional options to the WriteMakeFile
+-    $options = require "pam.cfg";
++    $options = require "./pam.cfg";
+     if ( $Config{'osname'} eq 'solaris' && $Config{'osvers'} eq '2.6') {
+       print "Adding a workaround for a bug in the Solaris 2.6 pam library\n";
index 459ea0dc14bd34bb5ab93af769d9a4d375992650..94261edbc1a6f91f182ee8185c64de5fbf5248e4 100644 (file)
@@ -9,13 +9,14 @@ Summary:      Authen::PAM - Perl interface to PAM library
 Summary(pl.UTF-8):     Authen::PAM - interfejs perlowy do biblioteki PAM
 Name:          perl-Authen-PAM
 Version:       0.16
-Release:       17
+Release:       18
 # same as perl
 License:       GPL v1+ or Artistic
 Vendor:                Nikolay Pelov <pelov@cs.kuleuven.ac.be>
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 7278471dfa694d9ef312bc92d7099af2
+Patch0:                no-dot-in-INC.patch
 URL:           http://www.cs.kuleuven.ac.be/~pelov/pam/
 BuildRequires: pam-devel
 BuildRequires: perl-devel >= 1:5.8.0
@@ -30,6 +31,7 @@ Moduł Authen::PAM umożliwia dostęp z Perla do biblioteki PAM.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
This page took 0.107427 seconds and 4 git commands to generate.