dev-lang/php: Make opcache active symlink relative
authorBrian Evans <grknight@gentoo.org>
Mon, 24 Feb 2020 18:48:07 +0000 (13:48 -0500)
committerBrian Evans <grknight@gentoo.org>
Mon, 24 Feb 2020 18:48:07 +0000 (13:48 -0500)
Signed-off-by: Brian Evans <grknight@gentoo.org>
dev-lang/php/php-7.2.28.ebuild
dev-lang/php/php-7.3.15.ebuild
dev-lang/php/php-7.4.3.ebuild

index ff4a8f69f89fddc7830c2329e70489261d021bf0..7df10c98a4a607bdf69957855ff122b677582e16 100644 (file)
@@ -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
 
index 097d4f6598198c087b590be32bac744b53604a45..26c1bf2cc49bae860610248d67935b04a69977f0 100644 (file)
@@ -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
 
index bc92aadcad56ffe1cc6bc429890132e39dd20f3a..13020f6424e216ae6acd4f0bea771c9ee303234b 100644 (file)
@@ -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