summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-14 19:59:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-14 19:59:35 +0000
commit99ae10766783890c5cbc1761d3319a22d685a58a (patch)
treeb245f70ac75ab98874ff3b750d91c31609b0a706 /kde-base/kdm
parentBump, change ewarn to elog. (diff)
downloadgentoo-2-99ae10766783890c5cbc1761d3319a22d685a58a.tar.gz
gentoo-2-99ae10766783890c5cbc1761d3319a22d685a58a.tar.bz2
gentoo-2-99ae10766783890c5cbc1761d3319a22d685a58a.zip
Don't enable shadow when pam is disabled on anything but glibc, as that is a GNU extension. Thanks to Timothy Redaelli for reporting.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'kde-base/kdm')
-rw-r--r--kde-base/kdm/ChangeLog6
-rw-r--r--kde-base/kdm/kdm-3.5.2-r1.ebuild12
2 files changed, 10 insertions, 8 deletions
diff --git a/kde-base/kdm/ChangeLog b/kde-base/kdm/ChangeLog
index 5d12e6137b33..667e8c93dc3b 100644
--- a/kde-base/kdm/ChangeLog
+++ b/kde-base/kdm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kdm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.64 2006/07/09 06:07:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.65 2006/07/14 19:59:35 flameeyes Exp $
+
+ 14 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> kdm-3.5.2-r1.ebuild:
+ Don't enable shadow when pam is disabled on anything but glibc, as that is a
+ GNU extension. Thanks to Timothy Redaelli for reporting.
09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> kdm-3.5.2-r1.ebuild,
kdm-3.5.3-r2.ebuild:
diff --git a/kde-base/kdm/kdm-3.5.2-r1.ebuild b/kde-base/kdm/kdm-3.5.2-r1.ebuild
index f483adb6542a..c02b2748625b 100644
--- a/kde-base/kdm/kdm-3.5.2-r1.ebuild
+++ b/kde-base/kdm/kdm-3.5.2-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/kde-base/kdm/kdm-3.5.2-r1.ebuild,v 1.6 2006/07/09 06:07:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-3.5.2-r1.ebuild,v 1.7 2006/07/14 19:59:35 flameeyes Exp $
KMNAME=kdebase
MAXKDEVER=$PV
@@ -12,7 +12,7 @@ SRC_URI="${SRC_URI}
DESCRIPTION="KDE login manager, similar to xdm and gdm"
KEYWORDS="alpha amd64 ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="pam"
+IUSE="pam elibc_glibc"
KMEXTRA="kdmlib/"
# kioslave/thumbnail/configure.in.in is to have HAVE_LIBART. Can be dropped on
@@ -39,12 +39,10 @@ src_unpack() {
}
src_compile() {
- local myconf="--with-x-binaries-dir=/usr/bin"
+ local myconf="--with-x-binaries-dir=/usr/bin $(use_with pam)"
- if use pam; then
- myconf="${myconf} --with-pam=yes"
- else
- myconf="${myconf} --with-pam=no --with-shadow"
+ if ! use pam && use elibc_glibc; then
+ myconf="${myconf} --with-shadow"
fi
export USER_LDFLAGS="${LDFLAGS}"