--- /usr/portage/mail-client/pine/pine-4.61.ebuild 2004-07-28 04:14:33.000000000 +0200 +++ /usr/local/portage/mail-client/pine/pine-4.61.ebuild 2004-07-28 17:18:11.348531367 +0200 @@ -23,7 +23,7 @@ DEPEND="virtual/libc >=sys-apps/sed-4 >=sys-libs/ncurses-5.1 - >=sys-libs/pam-0.72 + pam? ( >=sys-libs/pam-0.72 ) ssl? ( dev-libs/openssl ) ldap? ( net-nds/openldap ) kerberos? ( app-crypt/mit-krb5 )" @@ -107,8 +107,13 @@ if use kerberos ; then myconf="${myconf} EXTRAAUTHENTICATORS=gss" fi + if use pam ; then + target=lnp + else + target=slx + fi - ./build ${myconf} lnp || die "compile problem" + ./build ${myconf} ${target} || die "compile problem" } src_install() {