diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-01-27 08:00:02 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-01-27 08:00:02 +0000 |
commit | d563582fd6034d422de56c3143e2d5c1de526767 (patch) | |
tree | d9bc227380c720f89d609e5e3a9b6f8d69362847 /mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild | |
parent | added ~ppc64 (diff) | |
download | gentoo-2-d563582fd6034d422de56c3143e2d5c1de526767.tar.gz gentoo-2-d563582fd6034d422de56c3143e2d5c1de526767.tar.bz2 gentoo-2-d563582fd6034d422de56c3143e2d5c1de526767.zip |
Enforce the use of CFLAGS, #79655 reported by Stefan Briesenick <sbriesen@gmx.de>
(Portage version: 2.0.51-r15)
Diffstat (limited to 'mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild')
-rw-r--r-- | mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild b/mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild new file mode 100644 index 000000000000..f56faa35ae87 --- /dev/null +++ b/mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20040524-r1.ebuild,v 1.1 2005/01/27 08:00:02 ferdy Exp $ + +inherit ccc eutils flag-o-matic + +IUSE="" +MX_VER="8.1.2" +S=${WORKDIR}/${PN}-${MX_VER} + +DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts." +SRC_URI="http://dev.gentoo.org/~ferdy/distfiles/${PN}_${MX_VER}.orig.tar.gz + http://dev.gentoo.org/~ferdy/distfiles/${PN}-20040524-cvs.diff.bz2" +#SRC_URI="mirror://gentoo/mailx_${MX_VER}.orig.tar.gz +# mirror://gentoo/${PN}-20040524-cvs.diff.bz2" +HOMEPAGE="http://www.debian.org" + +DEPEND=">=net-libs/liblockfile-1.03 + virtual/mta + !mail-client/mailutils + mail-client/mailx-support + !virtual/mailx" +PROVIDE="virtual/mailx" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${DISTDIR}/${PN}-20040524-cvs.diff.bz2 || die "epatch failed" + epatch ${FILESDIR}/${PN}-2004-cflags.diff || die "epatch failed" +} + +src_compile() { + is-ccc && replace-cc-hardcode + make EXTRAFLAGS="${CFLAGS}" || die +} + +src_install() { + dodir /bin /usr/share/man/man1 /etc /usr/lib + + insinto /bin + insopts -m 755 + doins mail + + doman mail.1 + + dosym mail /bin/Mail + dosym mail /bin/mailx + dosym mail.1 /usr/share/man/man1/Mail.1 + + cd ${S}/misc + insinto /usr/lib + insopts -m 644 + doins mail.help mail.tildehelp + insinto /etc + insopts -m 644 + doins mail.rc +} |