commit: 9cbfa6270aea337561e5e3cb411a2acb6ae3178c Author: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de> AuthorDate: Wed Dec 6 18:47:01 2023 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Mon Dec 15 13:59:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbfa627
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 <AT> posteo.de> Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild b/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild index c0580ee326b2..4cb9011bfb66 100644 --- a/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild +++ b/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild @@ -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 \
