mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-eselect/eselect-php: Set TMPFILES_OPTIONAL
As per the eclass instructions, this should be set and virtual/tmpfiles dependency tied to fpm as the pkg_postinst is also conditional on fpm Signed-off-by: Brian Evans <grknight@gentoo.org>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
TMPFILES_OPTIONAL="yes"
|
||||
inherit tmpfiles
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
@@ -16,7 +17,8 @@ IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )"
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )
|
||||
fpm? ( virtual/tmpfiles )"
|
||||
|
||||
src_configure() {
|
||||
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
TMPFILES_OPTIONAL="yes"
|
||||
inherit autotools git-r3 tmpfiles
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
@@ -16,7 +17,8 @@ IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )"
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )
|
||||
fpm? ( virtual/tmpfiles )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user