--- ssmtp-2.62-r7.ebuild 2010-03-31 02:36:03.000000000 +0000 +++ ssmtp-2.62-r7.ebuild.1 2010-04-23 15:36:26.000000000 +0000 @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62-r7.ebuild,v 1.9 2009/12/09 19:24:18 nixnut Exp $ +EAPI=3 inherit eutils toolchain-funcs autotools DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" @@ -10,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="ssl ipv6 md5sum maxsysuid" DEPEND="ssl? ( dev-libs/openssl )" @@ -46,6 +47,9 @@ epatch "${FILESDIR}/${P}-authpass.patch" epatch "${FILESDIR}/${P}-strndup.patch" + epatch "${FILESDIR}/${PN}-2.61-darwin7.patch" + epatch "${FILESDIR}/${PN}-2.62-darwin-crypto.patch" + epatch "${FILESDIR}/${PN}-2.62-solaris-basename-conflict.patch" eautoreconf # Respect LDFLAGS (bug #152197) @@ -56,13 +60,13 @@ tc-export CC LD econf \ - --sysconfdir=/etc/ssmtp \ + --sysconfdir="${EPREFIX}"/etc/ssmtp \ $(use_enable ssl) \ $(use_enable ipv6 inet6) \ $(use_enable md5sum md5auth) \ || die make clean || die - make etcdir=/etc || die + make etcdir="${EPREFIX}"/etc || die } src_install() { @@ -77,7 +81,7 @@ insinto /etc/ssmtp doins ssmtp.conf revaliases - local conffile="${D}etc/ssmtp/ssmtp.conf" + local conffile="${ED}etc/ssmtp/ssmtp.conf" # Sorry about the weird indentation, I couldn't figure out a cleverer way # to do this without having horribly >80 char lines.