--- /usr/portage/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3.ebuild	2006-05-03 17:08:27.000000000 +0200
+++ cryptsetup-luks-1.0.3.ebuild	2006-05-24 12:36:13.100094904 +0200
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3.ebuild,v 1.3 2006/05/03 14:40:02 strerror Exp $
 
-inherit linux-info eutils flag-o-matic
+inherit linux-info autotools eutils flag-o-matic
 
 DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
 HOMEPAGE="http://luks.endorphin.org/"
@@ -43,6 +43,15 @@
 	dm-crypt_check;
 }
 
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}"/"${P}"-selinux.patch
+	eautoreconf
+}
+
+
 src_compile() {
 	if use dynamic ; then
 		ewarn "If you need cryptsetup for an initrd or initramfs then you"