summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-16 22:32:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-16 22:32:27 +0000
commit4779177d33a05feb0d20a7a55968d12021c9926e (patch)
treeef55c36c166ab4a1737480b38aabbe6085b2b01a /mail-mta/mini-qmail
parentFix bug #92751 (diff)
downloadgentoo-2-4779177d33a05feb0d20a7a55968d12021c9926e.tar.gz
gentoo-2-4779177d33a05feb0d20a7a55968d12021c9926e.tar.bz2
gentoo-2-4779177d33a05feb0d20a7a55968d12021c9926e.zip
dont use toolchain-funcs
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'mail-mta/mini-qmail')
-rw-r--r--mail-mta/mini-qmail/mini-qmail-1.05.ebuild28
1 files changed, 12 insertions, 16 deletions
diff --git a/mail-mta/mini-qmail/mini-qmail-1.05.ebuild b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild
index deafcdc8fe41..c2274a9ba6c6 100644
--- a/mail-mta/mini-qmail/mini-qmail-1.05.ebuild
+++ b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/mini-qmail-1.05.ebuild,v 1.4 2004/07/20 14:03:37 tomk Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/mini-qmail-1.05.ebuild,v 1.5 2005/05/16 22:30:48 vapier Exp $
-inherit eutils gcc fixheadtails
+inherit eutils toolchain-funcs fixheadtails
DESCRIPTION="a small null client that forwards mail via QMQP to a full qmail server"
HOMEPAGE="http://www.qmail.org/ http://cr.yp.to/qmail/mini.html"
@@ -11,13 +11,11 @@ SRC_URI="mirror://qmail/netqmail-${PV}.tar.gz
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 ppc sparc mips arm hppa"
+KEYWORDS="arm hppa mips ppc sparc x86"
IUSE=""
-DEPEND="virtual/libc
- sys-apps/groff"
-RDEPEND="!virtual/mta
- virtual/libc"
+DEPEND="sys-apps/groff"
+RDEPEND="!virtual/mta"
PROVIDE="virtual/mta
virtual/mda"
@@ -29,12 +27,12 @@ src_unpack() {
cd netqmail-${PV}
./collate.sh || die "patching failed"
- mv ${WORKDIR}/mini-qmail-kit-0.52/* ${S}/
+ mv "${WORKDIR}"/mini-qmail-kit-0.52/* "${S}"/
- cd ${S}
- echo -n "$(gcc-getCC) ${CFLAGS}" >${S}/conf-cc
- echo -n "$(gcc-getCC) ${LDFLAGS}" > ${S}/conf-ld
- ht_fix_file ${S}/Makefile
+ cd "${S}"
+ echo -n "$(tc-getCC) ${CFLAGS}" > "${S}"/conf-cc
+ echo -n "$(tc-getCC) ${LDFLAGS}" > "${S}"/conf-ld
+ ht_fix_file "${S}"/Makefile
epatch ${FILESDIR}/${PV}-config-mini-help.patch
}
@@ -66,9 +64,7 @@ src_install() {
qmail.7
einfo "Adding env.d entry for qmail"
- dodir /etc/env.d
- insinto /etc/env.d
- doins ${FILESDIR}/99qmail
+ doenvd "${FILESDIR}"/99qmail
einfo "Creating sendmail replacement ..."
diropts -m 755