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

Collapse All | Expand All

(-)/usr/portage/eclass/php-sapi.eclass (-7 / +18 lines)
Lines 424-434 Link Here
424
	# These were previously optional, but are now included directly as PEAR needs them.
424
	# These were previously optional, but are now included directly as PEAR needs them.
425
	# Zlib is needed for XML
425
	# Zlib is needed for XML
426
	myconf="${myconf} --with-zlib=/usr --with-zlib-dir=/usr"
426
	myconf="${myconf} --with-zlib=/usr --with-zlib-dir=/usr"
427
	LIBS="${LIBS} -lxmlparse -lxmltok"
427
428
	myconf="${myconf} --with-sablot=/usr"
428
	if use xml2; then
429
	myconf="${myconf} --enable-xslt" 
429
		LIBS="${LIBS} -lxmlparse -lxmltok"
430
	myconf="${myconf} --with-xslt-sablot" 
430
		myconf="${myconf} --with-sablot=/usr"
431
	myconf="${myconf} --with-xmlrpc"
431
		myconf="${myconf} --enable-xslt" 
432
		myconf="${myconf} --with-xslt-sablot" 
433
		if use xmlrpc; then
434
			myconf="${myconf} --with-xmlrpc"
435
		fi
436
	fi
432
	myconf="${myconf} --enable-wddx"
437
	myconf="${myconf} --enable-wddx"
433
	myconf="${myconf} --with-xml"
438
	myconf="${myconf} --with-xml"
434
439
Lines 458-467 Link Here
458
	myconf="${myconf} --with-mime-magic=/usr/share/misc/file/magic.mime"
463
	myconf="${myconf} --with-mime-magic=/usr/share/misc/file/magic.mime"
459
	myconf="${myconf} --enable-sockets"
464
	myconf="${myconf} --enable-sockets"
460
	myconf="${myconf} --enable-sysvsem --enable-sysvshm --enable-sysvmsg"
465
	myconf="${myconf} --enable-sysvsem --enable-sysvshm --enable-sysvmsg"
461
	myconf="${myconf} --with-iconv"
466
	if use xml2; then
467
		myconf="${myconf} --with-iconv"
468
	fi
462
	myconf="${myconf} --enable-shmop"
469
	myconf="${myconf} --enable-shmop"
463
	myconf="${myconf} --enable-dio"
470
	myconf="${myconf} --enable-dio"
464
	myconf="${myconf} --enable-yp"
471
	if use nis; then
472
		myconf="${myconf} --enable-yp"
473
	else
474
		myconf="${myconf} --disable-yp"
475
	fi
465
476
466
	# recode is NOT used as it conflicts with IMAP
477
	# recode is NOT used as it conflicts with IMAP
467
	# iconv is better anyway
478
	# iconv is better anyway

Return to bug 74435