summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2006-12-17 15:55:29 +0000
committerChristian Birchinger <joker@gentoo.org>2006-12-17 15:55:29 +0000
commit4be5674e954fc0e6d161dc70b684927aa2a0a81b (patch)
tree32faba848ffbbd639ff363563f0cbea160c0c344 /app-admin/ccze/ccze-0.2.1-r2.ebuild
parentRemove old version (diff)
downloadgentoo-2-4be5674e954fc0e6d161dc70b684927aa2a0a81b.tar.gz
gentoo-2-4be5674e954fc0e6d161dc70b684927aa2a0a81b.tar.bz2
gentoo-2-4be5674e954fc0e6d161dc70b684927aa2a0a81b.zip
Added a patch for the missing optarg in recent glibcs
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin/ccze/ccze-0.2.1-r2.ebuild')
-rw-r--r--app-admin/ccze/ccze-0.2.1-r2.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/ccze/ccze-0.2.1-r2.ebuild b/app-admin/ccze/ccze-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..91b4867b8f8e
--- /dev/null
+++ b/app-admin/ccze/ccze-0.2.1-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/12/17 15:55:29 joker Exp $
+
+inherit fixheadtails autotools eutils
+
+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="~x86 ~sparc ~amd64 ~ppc ~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"
+
+ # 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_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ
+}