diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-11-01 19:34:50 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-11-01 19:34:50 +0000 |
commit | 78b3b25c6b582d633dabc5f99f1031135f07ce60 (patch) | |
tree | d350c26382151213009736994b33deabaf860937 /mail-client | |
parent | Fix HOMEPAGE and SRC_URI wrt #343741 by Jouni Rinne. (diff) | |
download | gentoo-2-78b3b25c6b582d633dabc5f99f1031135f07ce60.tar.gz gentoo-2-78b3b25c6b582d633dabc5f99f1031135f07ce60.tar.bz2 gentoo-2-78b3b25c6b582d633dabc5f99f1031135f07ce60.zip |
Respect CC by Christian Franke (bug #235768).
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/mailx/ChangeLog | 8 | ||||
-rw-r--r-- | mail-client/mailx/mailx-8.1.2.20050715-r3.ebuild | 63 |
2 files changed, 70 insertions, 1 deletions
diff --git a/mail-client/mailx/ChangeLog b/mail-client/mailx/ChangeLog index 52e14dacf687..c3fcf9e13f75 100644 --- a/mail-client/mailx/ChangeLog +++ b/mail-client/mailx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-client/mailx # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.58 2010/11/01 12:19:24 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.59 2010/11/01 19:34:50 jer Exp $ + +*mailx-8.1.2.20050715-r3 (01 Nov 2010) + + 01 Nov 2010; Jeroen Roovers <jer@gentoo.org> + +mailx-8.1.2.20050715-r3.ebuild: + Respect CC by Christian Franke (bug #235768). 01 Nov 2010; Markos Chandras <hwoarang@gentoo.org> mailx-8.1.2.20050715-r2.ebuild: diff --git a/mail-client/mailx/mailx-8.1.2.20050715-r3.ebuild b/mail-client/mailx/mailx-8.1.2.20050715-r3.ebuild new file mode 100644 index 000000000000..11d884e9cd00 --- /dev/null +++ b/mail-client/mailx/mailx-8.1.2.20050715-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 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.20050715-r3.ebuild,v 1.1 2010/11/01 19:34:50 jer Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +MX_MAJ_VER=${PV%.*} +MX_MIN_VER=${PV##*.} +MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs +S=${WORKDIR}/${PN}-${MY_PV}.orig/ +debian_patch=${PN}_${MY_PV}-1.diff.gz + +DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts" +HOMEPAGE="http://www.debian.org/" +SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz + mirror://gentoo/${debian_patch}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND=">=net-libs/liblockfile-1.03 + virtual/mta + !mail-client/mailutils + mail-client/mailx-support + !virtual/mailx" +PROVIDE="virtual/mailx" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${DISTDIR}/${debian_patch}" + epatch "${FILESDIR}/${P}-nostrip.patch" + sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile + epatch "${FILESDIR}/${P}-offsetof.patch" +} + +src_compile() { + emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die +} + +src_install() { + dodir /bin /usr/share/man/man1 /etc /usr/lib + + insinto /bin + insopts -m 755 + doins mail || die + + 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/share/${PN}/ + insopts -m 644 + doins mail.help mail.tildehelp || die + insinto /etc + insopts -m 644 + doins mail.rc || die +} |