mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-04 04:57:07 -08:00
dev-php/phpdepend: new version 2.3.2 sans bundled dependencies.
Now that we have a framework for installing Composer packages, we don't need to bundle the Symfony components that phpdepend uses. This new version switches back to a source distribution and adds the requisite RDEPENDs. In addition, we now install phpdepend under /usr/share/phpdepend as opposed to /usr/share/php/phpdepend. The latter is part of PHP's "include" search path, and is only meant for library code. Gentoo-Bug: 573340 Package-Manager: portage-2.3.0
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$vendor_dir = '/usr/share/php';
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once("${vendor_dir}/Fedora/Autoloader/autoload.php");
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addPsr4(
|
||||
'PDepend\\',
|
||||
__DIR__ . '/../src/main/php/PDepend'
|
||||
);
|
||||
|
||||
|
||||
\Fedora\Autoloader\Dependencies::required(
|
||||
array(
|
||||
"${vendor_dir}/Symfony/Component/Config/autoload.php",
|
||||
"${vendor_dir}/Symfony/Component/DependencyInjection/autoload.php",
|
||||
"${vendor_dir}/Symfony/Component/Filesystem/autoload.php"
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user