Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 59203
Collapse All | Expand All

(-)php-sapi.eclass (-1 / +1 lines)
Lines 527-533 php-sapi_src_install() { Link Here
527
	mv ${D}/usr/bin/php-config ${D}/usr/bin/php-config.${PN}
527
	mv ${D}/usr/bin/php-config ${D}/usr/bin/php-config.${PN}
528
	# these files are provided solely by the PHP provider ebuild
528
	# these files are provided solely by the PHP provider ebuild
529
	php-sapi_is_providerbuild && dosym /usr/bin/php-config.${PN} /usr/bin/php-config
529
	php-sapi_is_providerbuild && dosym /usr/bin/php-config.${PN} /usr/bin/php-config
530
	php-sapi_is_providerbuild || rm -rf ${D}/usr/bin/{phpize,phpextdist} ${D}/usr/lib/php/build
530
	php-sapi_is_providerbuild || rm -rf ${D}/usr/bin/{phpize,phpextdist} ${D}/usr/lib/php/build ${D}/usr/bin/php
531
531
532
	# get the extension dir
532
	# get the extension dir
533
	PHPEXTDIR="`${D}/usr/bin/php-config.${PN} --extension-dir`"
533
	PHPEXTDIR="`${D}/usr/bin/php-config.${PN} --extension-dir`"

Return to bug 59203