EAPI=5
-inherit eutils autotools flag-o-matic versionator depend.apache apache-module libtool systemd
+inherit eutils autotools flag-o-matic versionator libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
PHP_INI_FILE="php.ini"
-want_apache
-
-pkg_setup() {
- depend.apache_pkg_setup
-}
-
php_install_ini() {
local phpsapi="${1}"
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
- APACHE2_MOD_DEFINE="PHP"
- APACHE2_MOD_CONF="70_mod_php" # Provided by app-eselect/eselect-php
- apache-module_pkg_postinst
+ elog
+ elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
+ elog "your apache2 command. OpenRC users can append that string to"
+ elog "APACHE2_OPTS in /etc/conf.d/apache2."
+ elog
+ elog "The apache module configuration file 70_mod_php.conf is"
+ elog "provided (and maintained) by eselect-php."
+ elog
fi
# Create the symlinks for php
EAPI=5
-inherit eutils autotools flag-o-matic versionator depend.apache apache-module libtool systemd
+inherit eutils autotools flag-o-matic versionator libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
PHP_INI_FILE="php.ini"
-want_apache
-
-pkg_setup() {
- depend.apache_pkg_setup
-}
-
php_install_ini() {
local phpsapi="${1}"
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
- APACHE2_MOD_DEFINE="PHP"
- APACHE2_MOD_CONF="70_mod_php" # Provided by app-eselect/eselect-php
- apache-module_pkg_postinst
+ elog
+ elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
+ elog "your apache2 command. OpenRC users can append that string to"
+ elog "APACHE2_OPTS in /etc/conf.d/apache2."
+ elog
+ elog "The apache module configuration file 70_mod_php.conf is"
+ elog "provided (and maintained) by eselect-php."
+ elog
fi
# Create the symlinks for php