summaryrefslogtreecommitdiffstats
path: root/php-pear/php/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear/php/DEPENDS')
-rwxr-xr-xphp-pear/php/DEPENDS35
1 files changed, 13 insertions, 22 deletions
diff --git a/php-pear/php/DEPENDS b/php-pear/php/DEPENDS
index a7eb5a1bb7..b076aaf7e3 100755
--- a/php-pear/php/DEPENDS
+++ b/php-pear/php/DEPENDS
@@ -96,20 +96,18 @@ optional_depends mhash \
"--with-mhash" "--without-mhash" \
"for hash functions support" &&
-if is_version_less 5.2.9999 "${VERSION}"; then
- optional_depends enchant \
- "--with-enchant" "--without-enchant" \
- "use enchant for spelling functions?" &&
-
- optional_depends icu \
- "--enable-intl --with-icu-dir=${INSTALL_ROOT}/usr" \
- "--disable-intl --without-icu-dir" \
- "for ICU unicode (internationalization) support" &&
-
- optional_depends oniguruma \
- "--with-onig=${INSTALL_ROOT}/usr" "--without-onig" \
- "for external oniguruma"
-fi &&
+optional_depends enchant \
+ "--with-enchant" "--without-enchant" \
+ "use enchant for spelling functions?" &&
+
+optional_depends icu \
+ "--enable-intl --with-icu-dir=${INSTALL_ROOT}/usr" \
+ "--disable-intl --without-icu-dir" \
+ "for ICU unicode (internationalization) support" &&
+
+optional_depends oniguruma \
+ "--with-onig=${INSTALL_ROOT}/usr" "--without-onig" \
+ "for external oniguruma" &&
optional_depends libmcrypt \
"--with-mcrypt" "--without-mcrypt" \
@@ -164,14 +162,7 @@ fi &&
db_driver_depends "mysqli" "MYSQL" &&
db_driver_depends "pgsql" "postgresql" &&
-
-if is_version_less "${VERSION}" 5.4; then
- db_driver_depends "sqlite" "sqlite2"
-fi &&
-
-if is_version_less 5.2.9999 "${VERSION}"; then
- db_driver_depends "sqlite3" "sqlite"
-fi &&
+db_driver_depends "sqlite3" "sqlite" &&
if list_find "${PHP5_DATABASE_DRIVERS}" "firebird"; then
depends firebird "--with-pdo-firebird=${INSTALL_ROOT}/usr"