Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 260530 | Differences between
and this patch

Collapse All | Expand All

(-)php5_2-sapi.eclass (-2 / +2 lines)
Lines 256-262 Link Here
256
256
257
	# Set the include path to point to where we want to find PEAR packages
257
	# Set the include path to point to where we want to find PEAR packages
258
	einfo "Setting correct include_path"
258
	einfo "Setting correct include_path"
259
	sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:${EPREFIX}/usr/share/php5:${EPREFIX}/usr/share/php"|' -i ${phpinisrc}
259
	sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}'"/usr/share/php5:'"${EPREFIX}'"/usr/share/php"|' -i ${phpinisrc}
260
260
261
	# Add needed MySQL extensions charset configuration
261
	# Add needed MySQL extensions charset configuration
262
	local phpmycnfcharset=""
262
	local phpmycnfcharset=""
Lines 390-396 Link Here
390
390
391
	sed -i \
391
	sed -i \
392
		-e 's|/usr/local /usr|'"${EPREFIX}"'/usr/local '"${EPREFIX}"'/usr|g' \
392
		-e 's|/usr/local /usr|'"${EPREFIX}"'/usr/local '"${EPREFIX}"'/usr|g' \
393
		ext/gettext/config.m4 \
393
		ext/*/config.m4 \
394
		|| die "Failed to fix gettext include paths for prefix"
394
		|| die "Failed to fix gettext include paths for prefix"
395
395
396
	# We are heavily patching autotools base files (configure.in) because
396
	# We are heavily patching autotools base files (configure.in) because

Return to bug 260530