summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild')
-rw-r--r--sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild b/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild
index 4dd24d54f4b1..e8c22c5f44b3 100644
--- a/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild
+++ b/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild,v 1.5 2005/12/31 15:24:56 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.1-r1.ebuild,v 1.6 2006/01/03 06:52:15 vapier Exp $
inherit linux-info eutils flag-o-matic
@@ -10,14 +10,13 @@ SRC_URI="http://luks.endorphin.org/source/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 ~ia64 ~mips ppc ppc64 sh sparc x86"
+IUSE="dynamic nls"
DEPEND=">=sys-fs/device-mapper-1.00.07-r1
- >=dev-libs/libgcrypt-1.1.42
- >=dev-libs/libgpg-error-1.0-r1
- !sys-fs/cryptsetup"
-
-IUSE="dynamic nls"
+ >=dev-libs/libgcrypt-1.1.42
+ >=dev-libs/libgpg-error-1.0-r1
+ !sys-fs/cryptsetup"
dm-crypt_check() {
ebegin "Checking for dm-crypt support"
@@ -44,9 +43,13 @@ pkg_setup() {
dm-crypt_check;
}
-src_compile() {
- cd ${S}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-no-nls.patch
+}
+src_compile() {
if use dynamic ; then
ewarn "If you need cryptsetup for an initrd or initramfs then you"
ewarn "should NOT use this USE flag"