summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/moodle')
-rw-r--r--www-apps/moodle/moodle-3.5.9.ebuild16
-rw-r--r--www-apps/moodle/moodle-3.6.7.ebuild16
-rw-r--r--www-apps/moodle/moodle-3.7.3.ebuild16
-rw-r--r--www-apps/moodle/moodle-3.8.ebuild16
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=""