summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-03-27 12:50:12 -0400
committerBrian Evans <grknight@gentoo.org>2018-03-27 14:19:09 -0400
commit141f6c633358e1f7fef2445484ff20c2880cc9a1 (patch)
treefcaeadea8d3b34530bf2c200148d705d9eb9ccbd /dev-php
parentdev-php/pecl-ncurses: Revbump to add php7-1 and php7-2 flags (diff)
downloadgentoo-141f6c633358e1f7fef2445484ff20c2880cc9a1.tar.gz
gentoo-141f6c633358e1f7fef2445484ff20c2880cc9a1.tar.bz2
gentoo-141f6c633358e1f7fef2445484ff20c2880cc9a1.zip
dev-php/pecl-pam: Revbump to add php7-1 and php7-2 support
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild (renamed from dev-php/pecl-pam/pecl-pam-1.0.3-r2.ebuild)9
1 files 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
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
}