commit:     141f6c633358e1f7fef2445484ff20c2880cc9a1
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 16:50:12 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Mar 27 18:19:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141f6c63

dev-php/pecl-pam: Revbump to add php7-1 and php7-2 support

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../{pecl-pam-1.0.3-r2.ebuild => pecl-pam-1.0.3-r3.ebuild}       | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/dev-php/pecl-pam/pecl-pam-1.0.3-r2.ebuild 
b/dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild
similarity index 80%
rename from dev-php/pecl-pam/pecl-pam-1.0.3-r2.ebuild
rename to dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild
index dcd2afeb776..db57bd50876 100644
--- a/dev-php/pecl-pam/pecl-pam-1.0.3-r2.ebuild
+++ b/dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 DOCS=( README )
 
-USE_PHP="php5-6 php7-0"
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
 
 inherit php-ext-pecl-r3 pam
 
@@ -26,10 +26,7 @@ PATCHES=( "${FILESDIR}/${PV}-php7.patch" )
 
 src_prepare() {
        #Fix DOS line endings
-       for slot in $(php_get_slots); do
-               php_init_slot_env "${slot}"
-               sed -i 's/\r$//' -- pam.c || die
-       done
+       sed -i 's/\r$//' -- pam.c || die
        php-ext-source-r3_src_prepare
 }
 

Reply via email to