diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-01 07:03:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-01 07:03:26 +0000 |
commit | 2525e4f77f71c85c4ea1ad0a80e2ff892c3b29a9 (patch) | |
tree | f5ab4e17d5206c7da297b06ce653a5744504fea4 /x11-misc | |
parent | Fixed bug #36922 (added check for JAVA_HOME), updated Copyright date. (diff) | |
download | gentoo-2-2525e4f77f71c85c4ea1ad0a80e2ff892c3b29a9.tar.gz gentoo-2-2525e4f77f71c85c4ea1ad0a80e2ff892c3b29a9.tar.bz2 gentoo-2-2525e4f77f71c85c4ea1ad0a80e2ff892c3b29a9.zip |
make pam optional
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/entrance/entrance-0.9.0.20031225.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-misc/entrance/entrance-0.9.0.20031225.ebuild b/x11-misc/entrance/entrance-0.9.0.20031225.ebuild index b8c9f60729fb..6d85da11fcb8 100644 --- a/x11-misc/entrance/entrance-0.9.0.20031225.ebuild +++ b/x11-misc/entrance/entrance-0.9.0.20031225.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/entrance/entrance-0.9.0.20031225.ebuild,v 1.1 2003/12/25 07:20:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/entrance/entrance-0.9.0.20031225.ebuild,v 1.2 2004/01/01 07:03:26 vapier Exp $ inherit enlightenment eutils @@ -10,15 +10,26 @@ SRC_URI="${SRC_URI} mirror://gentoo/extraicons-1.tar.bz2 http://wh0rd.de/gentoo/distfiles/extraicons-1.tar.bz2" +IUSE="${IUSE} pam" + DEPEND="${DEPEND} virtual/x11 - sys-libs/pam + pam? ( sys-libs/pam ) >=dev-db/edb-1.0.4.20031013 >=x11-libs/evas-1.0.0.20031025_pre11 >=x11-libs/ecore-0.0.2.20031018_pre4 >=media-libs/edje-0.0.1.20031020 >=x11-libs/esmart-0.0.2.20031025" +src_compile() { + if [ `use pam` ] ; then + export MY_ECONF="--with-auth-mode=pam" + else + export MY_ECONF="--with-auth-mode=shadow" + fi + enlightenment_src_compile +} + src_install() { enlightenment_src_install rm -rf ${D}/etc/init.d |