From d0eafbe17378e6057c65359f6a4bdf183fcaa952 Mon Sep 17 00:00:00 2001
From: Diego Elio Pettenò <flameeyes@gentoo.org>
Date: Mon, 14 Apr 2008 11:55:51 +0000
Subject: Override default sepermitlockdir definition so that it doesn't end in
 /var/lib/run. See bug #217590. (Portage version: 2.1.5_rc3)

---
 sys-libs/pam/ChangeLog           | 6 +++++-
 sys-libs/pam/pam-1.0.0-r1.ebuild | 7 ++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

(limited to 'sys-libs')

diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index 4f9a8685bbec..18b808c2870e 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for sys-libs/pam
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.207 2008/04/12 17:27:03 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.208 2008/04/14 11:55:51 flameeyes Exp $
+
+  14 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> pam-1.0.0-r1.ebuild:
+  Override default sepermitlockdir definition so that it doesn't end in
+  /var/lib/run. See bug #217590.
 
   12 Apr 2008; Tobias Scherbaum <dertobi123@gentoo.org> pam-1.0.0-r1.ebuild:
   Added ~ppc, bug #212437
diff --git a/sys-libs/pam/pam-1.0.0-r1.ebuild b/sys-libs/pam/pam-1.0.0-r1.ebuild
index 025c81cb9772..eef8a15fdcc2 100644
--- a/sys-libs/pam/pam-1.0.0-r1.ebuild
+++ b/sys-libs/pam/pam-1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.0.0-r1.ebuild,v 1.2 2008/04/12 17:27:03 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.0.0-r1.ebuild,v 1.3 2008/04/14 11:55:51 flameeyes Exp $
 
 WANT_AUTOCONF="latest"
 WANT_AUTOMAKE="latest"
@@ -138,11 +138,12 @@ src_compile() {
 		--enable-docdir=/usr/share/doc/${PF} \
 		--disable-regenerate-man \
 		${myconf} || die "econf failed"
-	emake || die "emake failed"
+	emake sepermitlockdir="/var/run/sepermit" || die "emake failed"
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die "make install failed"
+	emake DESTDIR="${D}" install \
+		 sepermitlockdir="/var/run/sepermit" || die "make install failed"
 
 	# Need to be suid
 	fperms u+s /sbin/unix_chkpwd
-- 
cgit v1.2.3-65-gdbad