summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-14 15:53:27 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-14 15:53:27 +0000
commit6eab823dd66014f18928496d1f1080b6a53f2d7a (patch)
tree6c9e6c5c37ee79794373a2154fbe7a31fc944a0c /net-mail/pine-maildir
parentnew bug (diff)
downloadgentoo-2-6eab823dd66014f18928496d1f1080b6a53f2d7a.tar.gz
gentoo-2-6eab823dd66014f18928496d1f1080b6a53f2d7a.tar.bz2
gentoo-2-6eab823dd66014f18928496d1f1080b6a53f2d7a.zip
This version compile under glibc-2.2 if use glibc22 is set
Diffstat (limited to 'net-mail/pine-maildir')
-rw-r--r--net-mail/pine-maildir/files/digest-pine-maildir-4.21-r22
-rw-r--r--net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/net-mail/pine-maildir/files/digest-pine-maildir-4.21-r2 b/net-mail/pine-maildir/files/digest-pine-maildir-4.21-r2
new file mode 100644
index 000000000000..9cf621efd3e1
--- /dev/null
+++ b/net-mail/pine-maildir/files/digest-pine-maildir-4.21-r2
@@ -0,0 +1,2 @@
+MD5 9252a061387de806f8aa1ced885d41f6 pine4.21.tar.gz
+MD5 2f6cd0ed750321d074cc53171d308291 pine-4.20-maildir_3.patch
diff --git a/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild b/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild
new file mode 100644
index 000000000000..9cd48da977b0
--- /dev/null
+++ b/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild,v 1.1 2000/11/14 15:53:27 achim Exp $
+
+P=pine-maildir-4.21
+A="pine4.21.tar.gz pine-4.20-maildir_3.patch"
+S=${WORKDIR}/pine4.21
+DESCRIPTION="Pine, Pico, Pilot, imapd"
+SRC_URI="ftp://ftp.cac.washington.edu/pine/pine4.21.tar.gz
+ ftp://158.195.33.220/pub/pine/pine-4.20-maildir_3.patch"
+HOMEPAGE="http://www.washington.edu/pine/"
+
+DEPEND=">=sys-libs/glibc-2.1.3
+ >=sys-libs/gpm-1.19.3
+ >=sys-libs/ncurses-5.1
+ >=sys-libs/pam-0.72"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${DISTDIR}/pine-4.20-maildir_3.patch
+ cd ${S}/pine
+ cp makefile.lnx makefile.orig
+ sed -e "s:-g -DDEBUG:${CFLAGS}:" makefile.orig > makefile.lnx
+
+ if [ -n "`use glibc22`" ]
+ then
+ echo "Using glibc-2.2"
+ cp ${FILESDIR}/os.c osdep/os-lnx.c
+ cp ${FILESDIR}/filter.c filter.c
+ fi
+
+ cd ${S}/pico
+ cp makefile.lnx makefile.orig
+ sed -e "s:-g -DDEBUG:${CFLAGS}:" makefile.orig > makefile.lnx
+
+
+}
+
+src_compile() {
+ ./build lnp
+}
+
+src_install() {
+ cd ${S}
+ into /usr
+ dobin bin/pine bin/pico bin/pilot bin/mtest
+ dosbin bin/imapd
+
+ doman doc/pico.1 doc/pine.1
+
+ insinto /etc
+ doins doc/mime.types
+ donewins doc/mailcap.unx mailcap
+
+ dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
+ docinto imap
+ dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/FAQ imap/docs/RELNOTES
+ docinto imap/rfc
+ dodoc imap/docs/rfc/*.txt
+ docinto html/tech-notes
+ dodoc doc/tech-notes/*.html
+}
+
+
+