Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-php/
Date: Wed, 26 Jul 2017 16:00:14
Message-Id: 1501084655.288b21920a83731a4c08c541ba5f73544c850f04.mjo@gentoo
1 commit: 288b21920a83731a4c08c541ba5f73544c850f04
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 26 15:28:18 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 26 15:57:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288b2192
7
8 app-eselect/eselect-php: update the live ebuild for recent repo changes.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-eselect/eselect-php/eselect-php-9999.ebuild | 13 ++++++++++---
13 1 file changed, 10 insertions(+), 3 deletions(-)
14
15 diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild
16 index f32c4a68a2f..7a707fb1480 100644
17 --- a/app-eselect/eselect-php/eselect-php-9999.ebuild
18 +++ b/app-eselect/eselect-php/eselect-php-9999.ebuild
19 @@ -16,8 +16,8 @@ IUSE="fpm apache2"
20
21 # The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
22 RDEPEND="app-admin/eselect
23 - sys-apps/gentoo-functions
24 - apache2? ( www-servers/apache[apache2_modules_dir] )"
25 + apache2? ( www-servers/apache[apache2_modules_dir] )
26 + fpm? ( sys-apps/gentoo-functions )"
27
28 src_prepare() {
29 eapply_user
30 @@ -28,7 +28,14 @@ src_configure(){
31 # We expect localstatedir to be "var"ish, not "var/lib"ish, because
32 # that's what PHP upstream expects. See for example the FPM
33 # configuration where they put logs in @localstatedir@/log.
34 - econf --localstatedir="${EPREFIX}"/var $(use_enable apache2) $(use_enable fpm)
35 + #
36 + # The libdir is passed explicitly in case the /usr/lib symlink
37 + # is not present (bug 624528).
38 + econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
39 + --localstatedir="${EPREFIX}/var" \
40 + --with-piddir="${EPREFIX}/run" \
41 + $(use_enable apache2) \
42 + $(use_enable fpm)
43 }
44
45 src_install() {