summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-11-11 20:37:15 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-11-11 21:31:23 +0100
commit4f039b87a705b339b7e9d5cc2d5332be6f38223a (patch)
tree97e7c576bad557b177a41b9f6a1ea8f187aeb56d /dev-lang
parentapp-text/djvu: cleanup (diff)
downloadgentoo-4f039b87a705b339b7e9d5cc2d5332be6f38223a.tar.gz
gentoo-4f039b87a705b339b7e9d5cc2d5332be6f38223a.tar.bz2
gentoo-4f039b87a705b339b7e9d5cc2d5332be6f38223a.zip
dev-lang/php: add missing RESTRICT
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/php/php-7.4.0_rc6.ebuild52
1 files changed, 27 insertions, 25 deletions
diff --git a/dev-lang/php/php-7.4.0_rc6.ebuild b/dev-lang/php/php-7.4.0_rc6.ebuild
index ececc5cc430e..20df8781da5a 100644
--- a/dev-lang/php/php-7.4.0_rc6.ebuild
+++ b/dev-lang/php/php-7.4.0_rc6.ebuild
@@ -45,6 +45,33 @@ IUSE="${IUSE} acl argon2 bcmath berkdb bzip2 calendar cdb cjk
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
+# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
+REQUIRED_USE="
+ || ( cli cgi fpm apache2 embed phpdbg )
+ cli? ( ^^ ( readline libedit ) )
+ !cli? ( ?? ( readline libedit ) )
+ truetype? ( gd zlib )
+ webp? ( gd zlib )
+ cjk? ( gd zlib )
+ exif? ( gd zlib )
+ xpm? ( gd zlib )
+ gd? ( zlib )
+ simplexml? ( xml )
+ soap? ( xml )
+ xmlrpc? ( xml iconv )
+ xmlreader? ( xml )
+ xmlwriter? ( xml )
+ xslt? ( xml )
+ ldap-sasl? ( ldap )
+ qdbm? ( !gdbm )
+ session-mm? ( session !threads )
+ mysql? ( || ( mysqli pdo ) )
+ firebird? ( pdo )
+ mssql? ( pdo )
+"
+
+RESTRICT="!test? ( test )"
+
# The supported (that is, autodetected) versions of BDB are listed in
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
@@ -121,31 +148,6 @@ DEPEND="${COMMON_DEPEND}
BDEPEND="virtual/pkgconfig"
-# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
-REQUIRED_USE="
- || ( cli cgi fpm apache2 embed phpdbg )
- cli? ( ^^ ( readline libedit ) )
- !cli? ( ?? ( readline libedit ) )
- truetype? ( gd zlib )
- webp? ( gd zlib )
- cjk? ( gd zlib )
- exif? ( gd zlib )
- xpm? ( gd zlib )
- gd? ( zlib )
- simplexml? ( xml )
- soap? ( xml )
- xmlrpc? ( xml iconv )
- xmlreader? ( xml )
- xmlwriter? ( xml )
- xslt? ( xml )
- ldap-sasl? ( ldap )
- qdbm? ( !gdbm )
- session-mm? ( session !threads )
- mysql? ( || ( mysqli pdo ) )
- firebird? ( pdo )
- mssql? ( pdo )
-"
-
PHP_MV="$(ver_cut 1)"
php_install_ini() {