summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2006-07-07 11:16:45 +0000
committerMartin Schlemmer <azarah@gentoo.org>2006-07-07 11:16:45 +0000
commit6331ec7cb0d1e05ff3cfa8c8caf946da954a6864 (patch)
treed97d2e490d0100a1cda693c5f1dc10d18b252d67 /sys-libs
parentStable on alpha wrt security bug #138903 (diff)
downloadgentoo-2-6331ec7cb0d1e05ff3cfa8c8caf946da954a6864.tar.gz
gentoo-2-6331ec7cb0d1e05ff3cfa8c8caf946da954a6864.tar.bz2
gentoo-2-6331ec7cb0d1e05ff3cfa8c8caf946da954a6864.zip
Move removing unneeded modules before dependency check.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog5
-rw-r--r--sys-libs/pam/pam-0.99.5.0-r1.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index 8704e8ae6045..d4d71477ca6b 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/pam
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.114 2006/07/04 08:02:28 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.115 2006/07/07 11:16:45 azarah Exp $
+
+ 07 Jul 2006; Martin Schlemmer <azarah@gentoo.org> pam-0.99.5.0-r1.ebuild:
+ Move removing unneeded modules before dependency check.
04 Jul 2006; Martin Schlemmer <azarah@gentoo.org> pam-0.99.5.0-r1.ebuild:
Fix ghostscript depend.
diff --git a/sys-libs/pam/pam-0.99.5.0-r1.ebuild b/sys-libs/pam/pam-0.99.5.0-r1.ebuild
index 5723bb1461f1..a080af1bd992 100644
--- a/sys-libs/pam/pam-0.99.5.0-r1.ebuild
+++ b/sys-libs/pam/pam-0.99.5.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0-r1.ebuild,v 1.4 2006/07/04 08:02:28 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0-r1.ebuild,v 1.5 2006/07/07 11:16:45 azarah Exp $
inherit libtool multilib eutils autotools pam toolchain-funcs gnuconfig
@@ -154,6 +154,10 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
+ # Remove unwanted modules before checking dependencies
+ use berkdb || rm -f "${D}/$(get_libdir)/security/pam_userdb"*
+ use selinux || rm -f "${D}/$(get_libdir)/security/pam_selinux"*
+
# Make sure every module built.
# Do not remove this, as some module can fail to build
# and effectively lock the user out of his system.
@@ -184,9 +188,6 @@ src_install() {
# No, we don't really need .la files for PAM modules.
rm -f "${D}/$(get_libdir)/security/"*.la
- use berkdb || rm -f "${D}/$(get_libdir)/security/pam_userdb*"
- use selinux || rm -f "${D}/$(get_libdir)/security/pam_selinux*"
-
dodoc CHANGELOG ChangeLog README AUTHORS Copyright
docinto modules ; dodoc doc/txts/README.*