summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/procmail/procmail-3.22-r6.ebuild')
-rw-r--r--net-mail/procmail/procmail-3.22-r6.ebuild67
1 files changed, 0 insertions, 67 deletions
diff --git a/net-mail/procmail/procmail-3.22-r6.ebuild b/net-mail/procmail/procmail-3.22-r6.ebuild
deleted file mode 100644
index d9149e9cdc80..000000000000
--- a/net-mail/procmail/procmail-3.22-r6.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/procmail/procmail-3.22-r6.ebuild,v 1.9 2004/05/12 03:52:30 randy Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Mail delivery agent/filter"
-SRC_URI="http://www.procmail.org/${P}.tar.gz"
-HOMEPAGE="http://www.procmail.org/"
-IUSE=""
-DEPEND="virtual/glibc
- virtual/mta"
-RDEPEND="virtual/glibc"
-PROVIDE="virtual/mda"
-SLOT="0"
-LICENSE="Artistic | GPL-2"
-KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips s390"
-
-src_compile() {
-
-# With gcc-3.1 and newer, there is a bug with aggressive optimization caused by
-# -finline-functions (implied by -O3) that leaves strstr() is an infinite loop.
-# To work around this, we append -fno-inline-functions to CFLAGS disable just
-# that optimization and avoid the bug.
- CFLAGS="${CFLAGS} -fno-inline-functions"
- sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
- -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
- -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \
- -i Makefile
-
- if [ -z "`use mbox`" ];
- then
- echo "# Use maildir-style mailbox in user's home directory" > ${S}/procmailrc
- echo 'DEFAULT=$HOME/.maildir/' >> ${S}/procmailrc
- cd ${S}
- patch -p1 <${FILESDIR}/gentoo-maildir2.diff
- else
- echo '# Use mbox-style mailbox in /var/spool/mail' > ${S}/procmail
- echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> ${S}/procmailrc
- fi
-
- emake || die
-}
-
-src_install () {
- cd ${S}/new
- insinto /usr/bin
- insopts -m 6755
- doins procmail
-
- insopts -m 2755
- doins lockfile
-
- dobin formail mailstat
- insopts -m 0644
-
- doman *.1 *.5
-
- cd ${S}
- dodoc Artistic COPYING FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
-
- insinto /etc
- doins procmailrc
-
- docinto examples
- dodoc examples/*
-}
-