summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-27 09:53:44 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-27 09:53:44 +0000
commit6f4e2585b352d8f4e01b3d008ac15e43773b1d3c (patch)
tree0580cd124f98f3c32e71c3804c8250c6277c7c89 /app-editors/xmlcopyeditor
parentFix maintainer email. (diff)
downloadgentoo-2-6f4e2585b352d8f4e01b3d008ac15e43773b1d3c.tar.gz
gentoo-2-6f4e2585b352d8f4e01b3d008ac15e43773b1d3c.tar.bz2
gentoo-2-6f4e2585b352d8f4e01b3d008ac15e43773b1d3c.zip
Respect CFLAGS/CXXFLAGS wrt bug #440744
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-editors/xmlcopyeditor')
-rw-r--r--app-editors/xmlcopyeditor/ChangeLog5
-rw-r--r--app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/app-editors/xmlcopyeditor/ChangeLog b/app-editors/xmlcopyeditor/ChangeLog
index 9e8ece5b2e94..e91069131f8e 100644
--- a/app-editors/xmlcopyeditor/ChangeLog
+++ b/app-editors/xmlcopyeditor/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/xmlcopyeditor
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/ChangeLog,v 1.22 2012/11/18 18:17:19 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/ChangeLog,v 1.23 2012/11/27 09:53:44 pinkbyte Exp $
+
+ 27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> xmlcopyeditor-1.2.0.6.ebuild:
+ Respect CFLAGS/CXXFLAGS wrt bug #440744
18 Nov 2012; Michael Palimaka <kensington@gentoo.org> metadata.xml:
Update secondary maintainer wrt bug #440744.
diff --git a/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild b/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild
index 9be6be9536c4..4da5f8020d3d 100644
--- a/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild
+++ b/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild,v 1.4 2012/08/05 22:44:03 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild,v 1.5 2012/11/27 09:53:44 pinkbyte Exp $
EAPI="4"
WX_GTK_VER="2.8"
MY_P=${P}-2
-inherit wxwidgets
+inherit autotools wxwidgets
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
@@ -29,6 +29,14 @@ RDEPEND=">=dev-libs/libxml2-2.7.3-r1
DEPEND="${RDEPEND}
dev-libs/boost"
+src_prepare() {
+ # bug #440744
+ sed -i -e 's/ -Wall -g -fexceptions//g' \
+ -e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
+ configure.in || die 'sed on configure.in failed'
+ eautoreconf
+}
+
src_install() {
emake DESTDIR="${D}" install