summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-24 11:02:09 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-24 11:02:09 +0000
commitd76bed5467c20174ac1d02f45953d745e14ed3ec (patch)
treeece531d52636269304828319be5e5e4946f5a4c2 /sys-apps/shadow/shadow-4.0.18.2.ebuild
parentbump to 0.8.3, fix bug #168870 (diff)
downloadgentoo-2-d76bed5467c20174ac1d02f45953d745e14ed3ec.tar.gz
gentoo-2-d76bed5467c20174ac1d02f45953d745e14ed3ec.tar.bz2
gentoo-2-d76bed5467c20174ac1d02f45953d745e14ed3ec.zip
Make sure we respect libdir for path to cracklib dicts.
(Portage version: 2.2_pre2)
Diffstat (limited to 'sys-apps/shadow/shadow-4.0.18.2.ebuild')
-rw-r--r--sys-apps/shadow/shadow-4.0.18.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/shadow/shadow-4.0.18.2.ebuild b/sys-apps/shadow/shadow-4.0.18.2.ebuild
index 754bc2ef088b..90a262aff971 100644
--- a/sys-apps/shadow/shadow-4.0.18.2.ebuild
+++ b/sys-apps/shadow/shadow-4.0.18.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.18.2.ebuild,v 1.3 2007/11/04 19:07:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.18.2.ebuild,v 1.4 2008/02/24 11:02:08 vapier Exp $
-inherit eutils libtool toolchain-funcs autotools pam
+inherit eutils libtool toolchain-funcs autotools pam multilib
DESCRIPTION="Utilities to deal with user accounts"
HOMEPAGE="http://shadow.pld.org.pl/ http://packages.qa.debian.org/s/shadow.html"
@@ -37,6 +37,7 @@ src_unpack() {
# tweak the default login.defs
epatch "${FILESDIR}"/${PN}-4.0.17-login.defs.patch
+ sed -i "s:@LIBDIR@:$(get_libdir):" etc/login.defs || die
# Make user/group names more flexible #3485 / #22920
epatch "${FILESDIR}"/${PN}-4.0.13-dots-in-usernames.patch