--- /usr/portage/app-laptop/tp_smapi/tp_smapi-0.33.ebuild 2007-12-31 19:30:43.000000000 +0100 +++ tp_smapi-0.36.ebuild 2008-03-21 21:35:04.661451972 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.33.ebuild,v 1.1 2007/12/31 18:30:43 welp Exp $ -inherit linux-mod +inherit linux-mod linux-info DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" HOMEPAGE="http://tpctl.sourceforge.net/" @@ -37,6 +37,10 @@ if use hdaps; then MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)" BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1" + + CONFIG_CHECK="!SENSORS_HDAPS" + ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" + linux-info_pkg_setup fi }