summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-15 11:32:30 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-15 11:32:30 +0000
commit7b986a46b3da3f3b5f7adae30e16d87d1b85b4e7 (patch)
treee497a6fdadc508031f59c690c961496805138e4a /net-analyzer/goaccess
parent@THANKS is no keywords (diff)
downloadgentoo-2-7b986a46b3da3f3b5f7adae30e16d87d1b85b4e7.tar.gz
gentoo-2-7b986a46b3da3f3b5f7adae30e16d87d1b85b4e7.tar.bz2
gentoo-2-7b986a46b3da3f3b5f7adae30e16d87d1b85b4e7.zip
Revision bump: EAPI 5, use autotools-utils eclass, respect CFLAGS wrt bug #451806
(Portage version: 2.2.0_alpha152/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-analyzer/goaccess')
-rw-r--r--net-analyzer/goaccess/ChangeLog11
-rw-r--r--net-analyzer/goaccess/goaccess-0.5-r1.ebuild (renamed from net-analyzer/goaccess/goaccess-0.5.ebuild)25
2 files changed, 30 insertions, 6 deletions
diff --git a/net-analyzer/goaccess/ChangeLog b/net-analyzer/goaccess/ChangeLog
index 4290d689d2fe..dbc3519a6e15 100644
--- a/net-analyzer/goaccess/ChangeLog
+++ b/net-analyzer/goaccess/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/goaccess
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/goaccess/ChangeLog,v 1.2 2012/10/23 12:50:07 pinkbyte Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/goaccess/ChangeLog,v 1.3 2013/01/15 11:32:30 pinkbyte Exp $
+
+*goaccess-0.5-r1 (15 Jan 2013)
+
+ 15 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> -goaccess-0.5.ebuild,
+ +goaccess-0.5-r1.ebuild:
+ Revision bump: EAPI 5, use autotools-utils eclass, respect CFLAGS wrt bug
+ #451806
23 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml:
Fix proxy maintainers herd name in metadata
diff --git a/net-analyzer/goaccess/goaccess-0.5.ebuild b/net-analyzer/goaccess/goaccess-0.5-r1.ebuild
index b5263e695856..dc4b2a36dc69 100644
--- a/net-analyzer/goaccess/goaccess-0.5.ebuild
+++ b/net-analyzer/goaccess/goaccess-0.5-r1.ebuild
@@ -1,8 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/goaccess/goaccess-0.5.ebuild,v 1.1 2012/07/27 05:24:20 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/goaccess/goaccess-0.5-r1.ebuild,v 1.1 2013/01/15 11:32:30 pinkbyte Exp $
-EAPI=4
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
DESCRIPTION="A real-time Apache log analyzer and interactive viewer that runs in a terminal"
HOMEPAGE="http://goaccess.prosoftcorp.com"
@@ -22,6 +25,20 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
+src_prepare() {
+ # respect CFLAGS, bug #451806
+ sed -i -e '/AM_CFLAGS/s/-g//' Makefile.am || die 'sed failed'
+ autotools-utils_src_prepare
+}
+
src_configure() {
- econf $(use_enable geoip) $(use_enable unicode utf8)
+ local myeconfargs=(
+ $(use_enable geoip)
+ $(use_enable unicode utf8)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile CFLAGS="${CFLAGS}"
}