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 | 4209c0d68a96fda634004d717c8b7a96b9407fe2 (patch) | |
tree | df2a3fa0924f74b25e37b84065670e6e536cd42c /x11-misc | |
parent | Fixed bug #36922 (added check for JAVA_HOME), updated Copyright date. (diff) | |
download | historical-4209c0d68a96fda634004d717c8b7a96b9407fe2.tar.gz historical-4209c0d68a96fda634004d717c8b7a96b9407fe2.tar.bz2 historical-4209c0d68a96fda634004d717c8b7a96b9407fe2.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 |