--- /usr/portage/net-mail/uw-imap/uw-imap-2002e-r4.ebuild 2004-09-04 14:10:37.000000000 -0400 +++ uw-imap-2004a.ebuild 2004-10-02 02:44:31.853435815 -0400 @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-imap/uw-imap-2002e-r4.ebuild,v 1.2 2004/09/04 18:04:58 squinky86 Exp $ +# uw-imap-2004a.ebuild MY_P=imap-${PV} S=${WORKDIR}/${MY_P} @@ -12,7 +12,7 @@ LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~hppa ~alpha ~amd64" -IUSE="ssl mbox pic kerberos" +IUSE="ipv6 ssl mbox pic kerberos" PROVIDE="virtual/imapd" PROVIDE="${PROVIDE} virtual/imap-c-client" @@ -49,15 +49,19 @@ src_compile() { local mymake + local ipver + ipver="IP=4" + use ipv6 && echo ipv6 use kerberos && echo kerberos use ssl && echo ssl + use ipv6 && ipver="IP=6" use kerberos \ && mymake="EXTRAAUTHENTICATORS=gss" if use ssl; then cd ${S} echo ${mymake} - yes | make lnp ${mymake} SSLTYPE=unix || die + yes | make lnp ${mymake} ${ipver} SSLTYPE=unix || die local i for i in imapd ipop3d; do @@ -82,7 +86,7 @@ umask 022 done else - yes | make lnp ${mymake} SSLTYPE=none || die + yes | make lnp ${mymake} ${ipver} SSLTYPE=none || die fi }