diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-21 04:06:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-21 04:06:49 +0000 |
commit | 838f08be20e2dab77abcbfc6a048b3d2e01f921c (patch) | |
tree | 108e8434e5d577dab8ac00c179f392d3dbccdae2 /net-mail/mailwrapper/mailwrapper-0.2.1.ebuild | |
parent | version bump, remove old (diff) | |
download | gentoo-2-838f08be20e2dab77abcbfc6a048b3d2e01f921c.tar.gz gentoo-2-838f08be20e2dab77abcbfc6a048b3d2e01f921c.tar.bz2 gentoo-2-838f08be20e2dab77abcbfc6a048b3d2e01f921c.zip |
Fix implicit memory decls #265616.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/mailwrapper/mailwrapper-0.2.1.ebuild')
-rw-r--r-- | net-mail/mailwrapper/mailwrapper-0.2.1.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild b/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild index 2f091eeafebc..a01c373b30f1 100644 --- a/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild +++ b/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild,v 1.10 2008/02/03 14:55:34 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild,v 1.11 2009/04/21 04:06:48 vapier Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="Program to invoke an appropriate MTA based on a config file" HOMEPAGE="http://www.gentoo.org/" @@ -13,10 +13,14 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" IUSE="" -DEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-headers.patch #265616 +} src_compile() { - $(tc-getCC) ${CFLAGS} \ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ -o mailwrapper \ mailwrapper.c fparseln.c fgetln.c \ || die "build failed" @@ -30,11 +34,8 @@ src_install() { } pkg_postinst() { - if [[ -e /etc/mailer.conf ]] - then - elog + if [ -e "${ROOT}"/etc/mailer.conf ] ; then elog "The mailwrapper config file has moved to /etc/mail/mailer.conf," elog "so the /etc/mailer.conf file on your system is no longer used." - elog fi } |