diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2019-12-03 10:23:56 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2019-12-03 10:23:56 -0500 |
commit | 45f8af881e01f34cd8cfb565f0dbc183603a7d8d (patch) | |
tree | 8557499f1c4cbe5e4ec8c7e75e7823e61e918e46 /www-apps | |
parent | x11-terms/mrxvt: bumpt to EAPI=7 (diff) | |
download | gentoo-45f8af881e01f34cd8cfb565f0dbc183603a7d8d.tar.gz gentoo-45f8af881e01f34cd8cfb565f0dbc183603a7d8d.tar.bz2 gentoo-45f8af881e01f34cd8cfb565f0dbc183603a7d8d.zip |
www-apps/moodle: remove REQUIRED_USE
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/moodle/moodle-3.5.9.ebuild | 16 | ||||
-rw-r--r-- | www-apps/moodle/moodle-3.6.7.ebuild | 16 | ||||
-rw-r--r-- | www-apps/moodle/moodle-3.7.3.ebuild | 16 | ||||
-rw-r--r-- | www-apps/moodle/moodle-3.8.ebuild | 16 |
4 files changed, 28 insertions, 36 deletions
diff --git a/www-apps/moodle/moodle-3.5.9.ebuild b/www-apps/moodle/moodle-3.5.9.ebuild index 39f865064357..07dbb6d2bb56 100644 --- a/www-apps/moodle/moodle-3.5.9.ebuild +++ b/www-apps/moodle/moodle-3.5.9.ebuild @@ -29,7 +29,6 @@ PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" -REQUIRED_USE="|| ( ${DB_TYPES} )" # No forced dependency on # mssql? - lives on a windows server @@ -57,14 +56,13 @@ pkg_setup() { fi done - # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero - #if [[ ${DB_COUNT} -eq 0 ]]; then - # eerror - # eerror "No database selected in your USE flags," - # eerror "You must select at least one." - # eerror - # die - #fi + if [[ ${DB_COUNT} -eq 0 ]]; then + eerror + eerror "No database selected in your USE flags," + eerror "You must select at least one." + eerror + die + fi if [[ ${DB_COUNT} -gt 1 ]]; then MYDB="" diff --git a/www-apps/moodle/moodle-3.6.7.ebuild b/www-apps/moodle/moodle-3.6.7.ebuild index 39f865064357..07dbb6d2bb56 100644 --- a/www-apps/moodle/moodle-3.6.7.ebuild +++ b/www-apps/moodle/moodle-3.6.7.ebuild @@ -29,7 +29,6 @@ PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" -REQUIRED_USE="|| ( ${DB_TYPES} )" # No forced dependency on # mssql? - lives on a windows server @@ -57,14 +56,13 @@ pkg_setup() { fi done - # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero - #if [[ ${DB_COUNT} -eq 0 ]]; then - # eerror - # eerror "No database selected in your USE flags," - # eerror "You must select at least one." - # eerror - # die - #fi + if [[ ${DB_COUNT} -eq 0 ]]; then + eerror + eerror "No database selected in your USE flags," + eerror "You must select at least one." + eerror + die + fi if [[ ${DB_COUNT} -gt 1 ]]; then MYDB="" diff --git a/www-apps/moodle/moodle-3.7.3.ebuild b/www-apps/moodle/moodle-3.7.3.ebuild index 8ced91e639b4..f9ed8bfdb6fd 100644 --- a/www-apps/moodle/moodle-3.7.3.ebuild +++ b/www-apps/moodle/moodle-3.7.3.ebuild @@ -29,7 +29,6 @@ PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" -REQUIRED_USE="|| ( ${DB_TYPES} )" # No forced dependency on # mssql? - lives on a windows server @@ -57,14 +56,13 @@ pkg_setup() { fi done - # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero - #if [[ ${DB_COUNT} -eq 0 ]]; then - # eerror - # eerror "No database selected in your USE flags," - # eerror "You must select at least one." - # eerror - # die - #fi + if [[ ${DB_COUNT} -eq 0 ]]; then + eerror + eerror "No database selected in your USE flags," + eerror "You must select at least one." + eerror + die + fi if [[ ${DB_COUNT} -gt 1 ]]; then MYDB="" diff --git a/www-apps/moodle/moodle-3.8.ebuild b/www-apps/moodle/moodle-3.8.ebuild index 8ced91e639b4..f9ed8bfdb6fd 100644 --- a/www-apps/moodle/moodle-3.8.ebuild +++ b/www-apps/moodle/moodle-3.8.ebuild @@ -29,7 +29,6 @@ PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" -REQUIRED_USE="|| ( ${DB_TYPES} )" # No forced dependency on # mssql? - lives on a windows server @@ -57,14 +56,13 @@ pkg_setup() { fi done - # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero - #if [[ ${DB_COUNT} -eq 0 ]]; then - # eerror - # eerror "No database selected in your USE flags," - # eerror "You must select at least one." - # eerror - # die - #fi + if [[ ${DB_COUNT} -eq 0 ]]; then + eerror + eerror "No database selected in your USE flags," + eerror "You must select at least one." + eerror + die + fi if [[ ${DB_COUNT} -gt 1 ]]; then MYDB="" |