summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2004-12-24 14:20:53 +0000
committerAndrej Kacian <ticho@gentoo.org>2004-12-24 14:20:53 +0000
commit4ff050c70bf503ee80d600050fae7594936bb956 (patch)
tree5c98f667a8f601fcfbd9c555b9932c05c31042fa /mail-client/nmh/nmh-1.1-r1.ebuild
parentadded ~ppc64 (Manifest recommit) (diff)
downloadgentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.tar.gz
gentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.tar.bz2
gentoo-2-4ff050c70bf503ee80d600050fae7594936bb956.zip
Apply patch to fix reply annotation. Closes #69688.
Diffstat (limited to 'mail-client/nmh/nmh-1.1-r1.ebuild')
-rw-r--r--mail-client/nmh/nmh-1.1-r1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/mail-client/nmh/nmh-1.1-r1.ebuild b/mail-client/nmh/nmh-1.1-r1.ebuild
new file mode 100644
index 000000000000..b9f32299a4e4
--- /dev/null
+++ b/mail-client/nmh/nmh-1.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.1-r1.ebuild,v 1.1 2004/12/24 14:20:53 ticho Exp $
+
+inherit eutils
+DESCRIPTION="New MH mail reader"
+SRC_URI="http://savannah.nongnu.org/download/nmh/${P}.tar.gz"
+HOMEPAGE="http://www.nongnu.org/nmh/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc
+ =sys-libs/db-1.85*
+ >=sys-libs/ncurses-5.2"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+
+ [ -z "${EDITOR}" ] && export EDITOR="prompter"
+ [ -z "${PAGER}" ] && export PAGER="/usr/bin/more"
+
+ # Patches from bug #22173.
+ epatch ${FILESDIR}/${P}-inc-login.patch || die "epatch failed"
+ epatch ${FILESDIR}/${P}-install.patch || die "epatch failed"
+ # vi test access violation patch
+ epatch ${FILESDIR}/${P}-configure-vitest.patch || die "epatch failed"
+ # bug #57886
+ epatch ${FILESDIR}/${P}-m_getfld.patch || die "epatch failed"
+ # bug #69688
+ epatch ${FILESDIR}/${P}-annotate-fix.patch || die "epatch failed"
+
+ # Redifining libdir to be bindir so the support binaries get installed
+ # correctly. Since no libraries are installed with nmh, this does not
+ # pose a problem at this time.
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-editor=${EDITOR} \
+ --with-pager=${PAGER} \
+ --enable-nmh-pop \
+ --sysconfdir=/etc/nmh \
+ --libdir=/usr/bin || die
+ make || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ libdir=${D}/usr/bin \
+ etcdir=${D}/etc/nmh install || die
+ dodoc COMPLETION-TCSH COMPLETION-ZSH TODO FAQ DIFFERENCES \
+ MAIL.FILTERING Changelog* COPYRIGHT
+}