From: Brian Evans Date: Mon, 24 Feb 2020 18:48:07 +0000 (-0500) Subject: dev-lang/php: Make opcache active symlink relative X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=378ba786e290393c1de7665bd8ddb576451d12f4;p=gentoo.git dev-lang/php: Make opcache active symlink relative Signed-off-by: Brian Evans --- diff --git a/dev-lang/php/php-7.2.28.ebuild b/dev-lang/php/php-7.2.28.ebuild index ff4a8f69f89f..7df10c98a4a6 100644 --- a/dev-lang/php/php-7.2.28.ebuild +++ b/dev-lang/php/php-7.2.28.ebuild @@ -194,7 +194,7 @@ php_install_ini() { elog "Adding opcache to $PHP_EXT_INI_DIR" echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \ "${D}/${PHP_EXT_INI_DIR}"/opcache.ini - dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \ + dosym "../ext/opcache.ini" \ "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini" fi diff --git a/dev-lang/php/php-7.3.15.ebuild b/dev-lang/php/php-7.3.15.ebuild index 097d4f659819..26c1bf2cc49b 100644 --- a/dev-lang/php/php-7.3.15.ebuild +++ b/dev-lang/php/php-7.3.15.ebuild @@ -195,7 +195,7 @@ php_install_ini() { elog "Adding opcache to $PHP_EXT_INI_DIR" echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \ "${D}/${PHP_EXT_INI_DIR}"/opcache.ini - dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \ + dosym "../ext/opcache.ini" \ "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini" fi diff --git a/dev-lang/php/php-7.4.3.ebuild b/dev-lang/php/php-7.4.3.ebuild index bc92aadcad56..13020f6424e2 100644 --- a/dev-lang/php/php-7.4.3.ebuild +++ b/dev-lang/php/php-7.4.3.ebuild @@ -185,7 +185,7 @@ php_install_ini() { elog "Adding opcache to $PHP_EXT_INI_DIR" echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \ "${D}/${PHP_EXT_INI_DIR}"/opcache.ini - dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \ + dosym "../ext/opcache.ini" \ "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini" fi