diff options
Diffstat (limited to 'sys-libs/device-mapper/device-mapper-1.00.05.ebuild')
-rw-r--r-- | sys-libs/device-mapper/device-mapper-1.00.05.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/device-mapper/device-mapper-1.00.05.ebuild b/sys-libs/device-mapper/device-mapper-1.00.05.ebuild index 80d092492058..920cf9e87a65 100644 --- a/sys-libs/device-mapper/device-mapper-1.00.05.ebuild +++ b/sys-libs/device-mapper/device-mapper-1.00.05.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/device-mapper-1.00.05.ebuild,v 1.3 2003/10/27 19:24:27 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/device-mapper-1.00.05.ebuild,v 1.4 2003/10/29 19:48:31 max Exp $ DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities." HOMEPAGE="http://www.sistina.com/products_lvm.htm" @@ -14,7 +14,7 @@ DEPEND="virtual/linux-sources" S="${WORKDIR}/${PN}.${PV}" -src_unpack() { +pkg_setup() { [ ! -e "/usr/src/linux/include/linux/dm-ioctl.h" ] && { eerror eerror "Your currently linked kernel (/usr/src/linux) hasn't" @@ -23,7 +23,7 @@ src_unpack() { die "kernel not patched for device mapper support" } - unpack ${A} + return 0 } src_compile() { |