--- /usr/portage/eclass/php5_2-sapi.eclass 2007-10-05 23:35:53.000000000 +0200 +++ php5_2-sapi.eclass 2007-12-12 19:48:20.000000000 +0100 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.16 2007/10/05 21:35:26 hoffie Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.17 2007/11/12 18:13:29 wltjr Exp $ # ======================================================================== # Based on robbat2's work on the php4 sapi eclass @@ -438,7 +438,11 @@ phpconfutils_extension_without "iconv" "iconv" 0 phpconfutils_extension_disable "ipv6" "ipv6" 0 phpconfutils_extension_disable "json" "json" 0 - phpconfutils_extension_with "kerberos" "kerberos" 0 "/usr" + if has_version "app-crypt/heimdal" ; then + phpconfutils_extension_with "kerberos" "kerberos" 0 "/usr/heimdal" + else + phpconfutils_extension_with "kerberos" "kerberos" 0 "/usr" + fi phpconfutils_extension_disable "libxml" "xml" 0 phpconfutils_extension_enable "mbstring" "unicode" 1 phpconfutils_extension_with "mcrypt" "crypt" 1