mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-php/theseer-Autoload: Do not symlink outside of EPREFIX
During the prepare step of the ebuild, symlinks are created to previously installed PHP dependencies in the vendor subdirectory to bootstap phpab. These symlinks lead to the real root filesystem in /usr/share/php/... instead of the portage prefix $EPREFIX/usr/share/php, thus being essentially broken in a Prefix installation. By adding $EPREFIX to the link directory, the link is now correct both inside and outside of Prefix installations. Closes: https://bugs.gentoo.org/918933 Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
committed by
Fabian Groffen
parent
2448c3f55d
commit
9cbfa6270a
@@ -57,9 +57,9 @@ src_prepare() {
|
||||
vendor/zetacomponents/console-tools \
|
||||
|| die
|
||||
|
||||
ln -s /usr/share/php/TheSeer/DirectoryScanner vendor/theseer/directoryscanner/src || die
|
||||
ln -s /usr/share/php/ezc/Base vendor/zetacomponents/base/src || die
|
||||
ln -s /usr/share/php/ezc/ConsoleTools vendor/zetacomponents/console-tools/src || die
|
||||
ln -s "${EPREFIX}"/usr/share/php/TheSeer/DirectoryScanner vendor/theseer/directoryscanner/src || die
|
||||
ln -s "${EPREFIX}"/usr/share/php/ezc/Base vendor/zetacomponents/base/src || die
|
||||
ln -s "${EPREFIX}"/usr/share/php/ezc/ConsoleTools vendor/zetacomponents/console-tools/src || die
|
||||
|
||||
./phpab.php \
|
||||
--output src/autoload.php \
|
||||
|
||||
Reference in New Issue
Block a user