diff options
author | Eray Aslan <eras@gentoo.org> | 2012-01-19 16:15:52 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2012-01-19 16:15:52 +0000 |
commit | 340e639f9de20427219307167a723c960af76799 (patch) | |
tree | e3bd544ec91f9c25ba066a4124d5cea59a090b68 /mail-client/mailx | |
parent | Marked ~hppa (bug #396043). (diff) | |
download | gentoo-2-340e639f9de20427219307167a723c960af76799.tar.gz gentoo-2-340e639f9de20427219307167a723c960af76799.tar.bz2 gentoo-2-340e639f9de20427219307167a723c960af76799.zip |
add compatibility sym link - bug #399253
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'mail-client/mailx')
-rw-r--r-- | mail-client/mailx/ChangeLog | 7 | ||||
-rw-r--r-- | mail-client/mailx/mailx-8.1.2.20050715-r5.ebuild | 69 |
2 files changed, 75 insertions, 1 deletions
diff --git a/mail-client/mailx/ChangeLog b/mail-client/mailx/ChangeLog index da90cb673818..daff5cd48660 100644 --- a/mail-client/mailx/ChangeLog +++ b/mail-client/mailx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-client/mailx # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.65 2012/01/10 14:38:19 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.66 2012/01/19 16:15:52 eras Exp $ + +*mailx-8.1.2.20050715-r5 (19 Jan 2012) + + 19 Jan 2012; Eray Aslan <eras@gentoo.org> +mailx-8.1.2.20050715-r5.ebuild: + add compatibility sym link - bug #399253 *mailx-8.1.2.20050715-r4 (10 Jan 2012) diff --git a/mail-client/mailx/mailx-8.1.2.20050715-r5.ebuild b/mail-client/mailx/mailx-8.1.2.20050715-r5.ebuild new file mode 100644 index 000000000000..d2f635cfdbfd --- /dev/null +++ b/mail-client/mailx/mailx-8.1.2.20050715-r5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 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-r5.ebuild,v 1.1 2012/01/19 16:15:52 eras 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/mailx-support" + +RDEPEND="${DEPEND} + !mail-client/nail + !net-mail/mailutils" + +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 /usr/bin /bin /usr/share/man/man1 /etc + + insinto /usr/bin + insopts -m 755 + doins mail || die + + doman mail.1 + + dosym mail /usr/bin/Mail + dosym mail /usr/bin/mailx + dosym mail.1 /usr/share/man/man1/Mail.1 + + dodoc misc/mail.help misc/mail.tildehelp || die + insinto /etc + insopts -m 644 + doins misc/mail.rc || die + + # compatibility link + dosym /usr/bin/mail /bin/mail || die +} + +pkg_postinst() { + elog "mail command now lives in /usr/bin." + elog "Please adjust your scripts." +} |