packages: php/dep-tests.sh - some typo in simplexml deps
glen
glen at pld-linux.org
Thu Dec 3 07:44:59 CET 2009
Author: glen Date: Thu Dec 3 06:44:59 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- some typo in simplexml deps
---- Files affected:
packages/php:
dep-tests.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/php/dep-tests.sh
diff -u packages/php/dep-tests.sh:1.1 packages/php/dep-tests.sh:1.2
--- packages/php/dep-tests.sh:1.1 Wed Dec 2 22:21:49 2009
+++ packages/php/dep-tests.sh Thu Dec 3 07:44:53 2009
@@ -13,7 +13,7 @@
dep_pdo_firebird="$dep_pdo pdo"
dep_pdo_dblib="$dep_pdo pdo"
dep_pdo_mysql="$dep_pdo pdo"
-dep_simplexml="$dep_pdo pdo"
+dep_simplexml="$dep_spl"
dep_sqlite="$dep_pdo pdo"
dep_wddx='xml'
dep_xmlreader='dom'
@@ -22,6 +22,7 @@
php=${PHP:-$(php-config --php-binary)}
ext_dir=${EXTENSION_DIR:-$(php-config --extension-dir)}
+conf_dir=${CONFIG_DIR:-$(php-config --sysconfdir)/conf.d}
# poldek --sn ac-ready -u php-*
for ext in $ext_dir/*.so; do
@@ -30,6 +31,7 @@
deps=$(eval echo \$dep_$ext)
# add ext itself, if already not in list (spl case)
[[ $deps = *$ext* ]] || deps="$deps $ext"
+
args=$(for e in $deps; do echo -d extension=$e.so; done)
echo -n "$ext (deps: ${deps# })..."
$php -n -d extension_dir=$ext_dir $args -r "exit(extension_loaded('${ext}') ? 0 : 1);" && echo OK || echo FAIL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/dep-tests.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list