summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-19 06:50:16 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-19 06:50:16 +0000
commitb84d6dd7330e17183799a8be55a1a4d63c0f6839 (patch)
tree84862acbcf4a65c53605f866e1792f9b4bc6aa66 /net-mail/qlogtools
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-b84d6dd7330e17183799a8be55a1a4d63c0f6839.tar.gz
gentoo-2-b84d6dd7330e17183799a8be55a1a4d63c0f6839.tar.bz2
gentoo-2-b84d6dd7330e17183799a8be55a1a4d63c0f6839.zip
dont use $CC
Diffstat (limited to 'net-mail/qlogtools')
-rw-r--r--net-mail/qlogtools/qlogtools-3.1.ebuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/net-mail/qlogtools/qlogtools-3.1.ebuild b/net-mail/qlogtools/qlogtools-3.1.ebuild
index 43986a1109e4..10e94af27f27 100644
--- a/net-mail/qlogtools/qlogtools-3.1.ebuild
+++ b/net-mail/qlogtools/qlogtools-3.1.ebuild
@@ -1,37 +1,38 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qlogtools/qlogtools-3.1.ebuild,v 1.1 2003/08/01 05:02:36 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qlogtools/qlogtools-3.1.ebuild,v 1.2 2004/06/19 06:50:16 vapier Exp $
+
+inherit eutils gcc
-S=${WORKDIR}/${P}
DESCRIPTION="Qmail Log processing tools"
-SRC_URI="http://untroubled.org/qlogtools/${P}.tar.gz"
HOMEPAGE="http://untroubled.org/qlogtools/"
+SRC_URI="http://untroubled.org/qlogtools/${P}.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~ppc"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE=""
DEPEND="virtual/glibc"
RDEPEND=""
src_unpack() {
unpack ${A}
- patch -p1 -d ${P} < ${FILESDIR}/qlogtools-3.1-errno.patch
+ EPATCH_OPTS="-p1 -d ${P}" epatch ${FILESDIR}/qlogtools-3.1-errno.patch
}
src_compile() {
- cd ${S}
- echo "${CC} ${CFLAGS}" > conf-cc
- echo "${CC} ${LDFLAGS}" > conf-ld
+ echo "$(gcc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(gcc-getCC) ${LDFLAGS}" > conf-ld
echo "${D}/usr/bin" > conf-bin
echo "${D}/usr/share/man/" > conf-man
emake || die
}
-src_install () {
+src_install() {
dodir /usr/bin /usr/share/man/
./installer || die "Installer failed"
- dodoc ANNOUNCEMENT COPYING FILES NEWS README TARGETS VERSION
+ dodoc ANNOUNCEMENT FILES NEWS README TARGETS VERSION
}
pkg_postinst() {