dev-php/pecl-pam: Revbump to add php7-1 and php7-2 support
authorBrian Evans <grknight@gentoo.org>
Tue, 27 Mar 2018 16:50:12 +0000 (12:50 -0400)
committerBrian Evans <grknight@gentoo.org>
Tue, 27 Mar 2018 18:19:09 +0000 (14:19 -0400)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild [moved from dev-php/pecl-pam/pecl-pam-1.0.3-r2.ebuild with 80% similarity]

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 dcd2afeb7764d430e8a32c2fce4ddea53958fc8a..db57bd5087654446584783d27be2648dbe6cdcca 100644 (file)
@@ -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
 }