From 378ba786e290393c1de7665bd8ddb576451d12f4 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Mon, 24 Feb 2020 13:48:07 -0500 Subject: [PATCH] dev-lang/php: Make opcache active symlink relative Signed-off-by: Brian Evans --- dev-lang/php/php-7.2.28.ebuild | 2 +- dev-lang/php/php-7.3.15.ebuild | 2 +- dev-lang/php/php-7.4.3.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2