Skip to content

Commit

Permalink
app-eselect/eselect-php: tweak the live ebuild for upstream changes.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <[email protected]>
  • Loading branch information
orlitzky committed Jan 23, 2020
1 parent 8ffe2c4 commit 941b473
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions app-eselect/eselect-php/eselect-php-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit systemd git-r3 autotools
inherit git-r3 autotools

DESCRIPTION="PHP eselect module"
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
Expand All @@ -19,7 +19,7 @@ RDEPEND="app-admin/eselect
apache2? ( www-servers/apache[apache2_modules_dir] )"

src_prepare() {
eapply_user
default
eautoreconf
}

Expand All @@ -36,14 +36,3 @@ src_configure(){
$(use_enable apache2) \
$(use_enable fpm)
}

src_install() {
default

if use fpm ; then
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
sed -e "s,@libdir@,$(get_libdir),g" "${FILESDIR}/php-fpm-launcher-r3" > "${T}"/php-fpm-launcher || die
exeinto /usr/libexec
doexe "${T}"/php-fpm-launcher
fi
}

0 comments on commit 941b473

Please sign in to comment.