--- /home/flame/devel/gentoo-x86/mail-client/mailx-support/mailx-support-20060102.ebuild 2006-03-01 17:16:34.000000000 +0100 +++ mailx-support-20060102.ebuild 2006-03-14 23:21:44.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/mailx-support/mailx-support-20060102.ebuild,v 1.1 2006/03/01 16:16:34 langthang Exp $ -inherit eutils +inherit eutils toolchain-funcs flag-o-matic DESCRIPTION="Provides mail.local and lockspool" HOMEPAGE="http://www.openbsd.org/" @@ -14,10 +14,17 @@ DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-respect-ldflags.patch" +} + src_compile() { - emake + emake CC="$(tc-getCC)" BINDNOW_FLAGS="$(bindnow-flags)" || die "emake failed" } src_install() { - einstall + einstall || die "einstall failed" }