summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2009-03-02 21:49:13 +0000
committerSerkan Kaba <serkan@gentoo.org>2009-03-02 21:49:13 +0000
commit5d28f859d1c02bc0a1de4a488e962d5c471a9ca2 (patch)
treed3e22182d59c4b7ea4922f490c45ce39c65f6d9a /dev-java/jicmp
parentremove old (diff)
downloadgentoo-2-5d28f859d1c02bc0a1de4a488e962d5c471a9ca2.tar.gz
gentoo-2-5d28f859d1c02bc0a1de4a488e962d5c471a9ca2.tar.bz2
gentoo-2-5d28f859d1c02bc0a1de4a488e962d5c471a9ca2.zip
Filter out -Werror from compiler flags. Reported by Diego Pettenò <flameeyes@gentoo.org> in bug #260881.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jicmp')
-rw-r--r--dev-java/jicmp/ChangeLog8
-rw-r--r--dev-java/jicmp/jicmp-1.0.2.ebuild13
2 files changed, 16 insertions, 5 deletions
diff --git a/dev-java/jicmp/ChangeLog b/dev-java/jicmp/ChangeLog
index 21050678e006..84cdecc64ff4 100644
--- a/dev-java/jicmp/ChangeLog
+++ b/dev-java/jicmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/jicmp
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jicmp/ChangeLog,v 1.4 2008/12/08 01:57:03 jmbsvicetto Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jicmp/ChangeLog,v 1.5 2009/03/02 21:49:13 serkan Exp $
+
+ 02 Mar 2009; Serkan Kaba <serkan@gentoo.org> jicmp-1.0.2.ebuild:
+ Filter out -Werror from compiler flags. Reported by Diego Pettenò
+ <flameeyes@gentoo.org> in bug #260881.
08 Dec 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/dev-java/jicmp/jicmp-1.0.2.ebuild b/dev-java/jicmp/jicmp-1.0.2.ebuild
index 0868d9d247df..992bc97ba85e 100644
--- a/dev-java/jicmp/jicmp-1.0.2.ebuild
+++ b/dev-java/jicmp/jicmp-1.0.2.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jicmp/jicmp-1.0.2.ebuild,v 1.4 2007/09/13 06:04:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jicmp/jicmp-1.0.2.ebuild,v 1.5 2009/03/02 21:49:13 serkan Exp $
+
+EAPI="2"
JAVA_PKG_IUSE="doc source"
-inherit eutils base java-pkg-2
+inherit eutils autotools base java-pkg-2
DESCRIPTION="Java Interface to Tobias Oetiker's RRDtool"
SRC_URI="mirror://sourceforge/opennms/${P}.tar.gz"
@@ -17,6 +19,11 @@ SLOT="0"
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5"
+src_prepare() {
+ sed -i -e "s/-Werror//g" configure.ac || die "sed failed"
+ eautoreconf
+}
+
src_compile() {
base_src_compile
if use doc; then