diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-01-22 17:04:34 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-01-22 17:04:34 +0000 |
commit | 993f75b6b542d93c243f9bde91560e6455bd9963 (patch) | |
tree | b1160a75646fc958ea4ad9257f2e3522876ee650 /app-admin/ccze/ccze-0.2.1-r3.ebuild | |
parent | Require SLOT="0" of media-libs/jpeg for headers. (diff) | |
download | historical-993f75b6b542d93c243f9bde91560e6455bd9963.tar.gz historical-993f75b6b542d93c243f9bde91560e6455bd9963.tar.bz2 historical-993f75b6b542d93c243f9bde91560e6455bd9963.zip |
Respect LDFLAGS.
Package-Manager: portage-2.2_rc61/cvs/Linux i686
Diffstat (limited to 'app-admin/ccze/ccze-0.2.1-r3.ebuild')
-rw-r--r-- | app-admin/ccze/ccze-0.2.1-r3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-admin/ccze/ccze-0.2.1-r3.ebuild b/app-admin/ccze/ccze-0.2.1-r3.ebuild new file mode 100644 index 000000000000..4d74af7b4f23 --- /dev/null +++ b/app-admin/ccze/ccze-0.2.1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1-r3.ebuild,v 1.1 2010/01/22 17:04:33 jer Exp $ + +inherit fixheadtails autotools eutils toolchain-funcs + +DESCRIPTION="A flexible and fast logfile colorizer" +HOMEPAGE="http://bonehunter.rulez.org/software/ccze/" +SRC_URI="ftp://bonehunter.rulez.org/pub/ccze/stable/${P}.tar.gz" + +RESTRICT="test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-libs/libpcre" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/ccze-fbsd.patch || die "epatch ccze-fbsd.patch failed" + epatch "${FILESDIR}"/ccze-segfault.patch || die "epatch ccze-segfault.patch" + epatch "${FILESDIR}"/ccze-ldflags.patch || die "epatch ccze-segfault.patch" + + # GCC 4.x fixes + sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \ + -i src/Makefile.in + sed -e '/AC_CHECK_TYPE(error_t, int)/d' \ + -i configure.ac + + eautoreconf + + ht_fix_file Rules.mk.in +} + +src_compile() { + # Bug #243314 + tc-export CC + econf || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ +} |