--- /usr/portage/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild 2005-04-12 02:05:52.000000000 +0100 +++ ./cryptsetup-0.1-r2.ebuild 2005-04-15 02:16:23.821370712 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild,v 1.7 2005/04/12 01:04:26 gustavoz Exp $ -inherit kernel-mod +inherit linux-mod DESCRIPTION="Tool to setup encrypted devices with dm-crypt" HOMEPAGE="http://www.saout.de/misc/dm-crypt/" @@ -19,8 +19,9 @@ S=${WORKDIR}/${PN}-${PV} pkg_setup() { - if ! kernel-mod_configoption_present DM_CRYPT ; then - ewarn "dm-crypt is not enabled in /usr/src/linux/.config" + get_version + if ! linux_chkconfig_present DM_CRYPT ; then + ewarn "dm-crypt is not enabled in ${KV_OUT_DIR}.config" ewarn "please see $HOMEPAGE" ewarn "for details on how to enable dm-crypt for your kernel" fi