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

Collapse All | Expand All

(-)eclass/php.eclass (-1 / +8 lines)
Lines 188-194 Link Here
188
188
189
	[ -x "/usr/sbin/sendmail" ] || die "You need a virtual/mta that provides /usr/sbin/sendmail!"
189
	[ -x "/usr/sbin/sendmail" ] || die "You need a virtual/mta that provides /usr/sbin/sendmail!"
190
190
191
	use berkdb && myconf="${myconf} --with-db3=/usr"
191
	#Hack to use db4
192
	if has_version =sys-libs/db-4* && grep -q "\--with-db4" configure; then
193
		einfo "enabling db4"
194
		use berkdb && myconf="${myconf} --with-db4=/usr"
195
	else
196
		use berkdb && myconf="${myconf} --with-db3=/usr"
197
	fi
198
192
	use cjk && myconf="${myconf} --enable-mbstring --enable-mbregex"
199
	use cjk && myconf="${myconf} --enable-mbstring --enable-mbregex"
193
	use crypt && myconf="${myconf} --with-mcrypt=/usr --with-mhash"
200
	use crypt && myconf="${myconf} --with-mcrypt=/usr --with-mhash"
194
	use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
201
	use firebird && myconf="${myconf} --with-interbase=/opt/interbase"
(-)dev-php/mod_php/mod_php-4.3.1-r3.ebuild (+14 lines)
Lines 16-24 Link Here
16
		>=net-www/apache-1.3.26-r2
16
		>=net-www/apache-1.3.26-r2
17
	)"
17
	)"
18
18
19
src_unpack() {
20
	php_src_unpack
21
	epatch ${FILESDIR}/php-${PV}-db4.diff
22
	cd ${S}
23
	autoconf
24
}
25
19
src_compile() {
26
src_compile() {
20
	#no readline on server SAPI
27
	#no readline on server SAPI
21
	myconf="${myconf} --without-readline "
28
	myconf="${myconf} --without-readline "
29
	
30
	#Hack to use db4
31
	if has_version =sys-libs/db-4* ; then
32
		einfo "enabling db4"
33
		myconf=${myconf//with-db3/with-db4}
34
		echo ${myconf}
35
	fi
22
36
23
	# Every Apache2 MPM EXCEPT prefork needs Zend Thread Safety
37
	# Every Apache2 MPM EXCEPT prefork needs Zend Thread Safety
24
	if [ "`use apache2`" ]; then
38
	if [ "`use apache2`" ]; then

Return to bug 21635