summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-06-11 08:55:32 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-06-11 08:55:32 +0000
commita811fb1cfff3b7f6ab00f7f2f51380ca68daa964 (patch)
tree6c54f0b2bf406c074239d10f12b2c7678ca44b77 /net-irc
parentsparc stable wrt bug #511730 (diff)
downloadgentoo-2-a811fb1cfff3b7f6ab00f7f2f51380ca68daa964.tar.gz
gentoo-2-a811fb1cfff3b7f6ab00f7f2f51380ca68daa964.tar.bz2
gentoo-2-a811fb1cfff3b7f6ab00f7f2f51380ca68daa964.zip
Respect CFLAGS
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/emech/ChangeLog5
-rw-r--r--net-irc/emech/emech-3.0.3-r1.ebuild10
2 files changed, 11 insertions, 4 deletions
diff --git a/net-irc/emech/ChangeLog b/net-irc/emech/ChangeLog
index 69e5cf475e34..185e144bf420 100644
--- a/net-irc/emech/ChangeLog
+++ b/net-irc/emech/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/emech
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/ChangeLog,v 1.15 2014/06/06 11:45:27 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/ChangeLog,v 1.16 2014/06/11 08:55:32 pinkbyte Exp $
+
+ 11 Jun 2014; Sergey Popov <pinkbyte@gentoo.org> emech-3.0.3-r1.ebuild:
+ Respect CFLAGS
06 Jun 2014; Sergey Popov <pinkbyte@gentoo.org> emech-3.0.3-r1.ebuild:
Stable on amd64 and x86, wrt bug #502880
diff --git a/net-irc/emech/emech-3.0.3-r1.ebuild b/net-irc/emech/emech-3.0.3-r1.ebuild
index 5e2bfab8ec5b..335b0fc6a5cc 100644
--- a/net-irc/emech/emech-3.0.3-r1.ebuild
+++ b/net-irc/emech/emech-3.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/emech-3.0.3-r1.ebuild,v 1.2 2014/06/06 11:45:27 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/emech-3.0.3-r1.ebuild,v 1.3 2014/06/11 08:55:32 pinkbyte Exp $
EAPI=5
@@ -23,8 +23,12 @@ src_prepare() {
-e 's: "help/":"/usr/share/energymech/help/":' \
-e 's: "messages/":"/usr/share/energymech/messages/":' \
src/config.h.in || die
- # Respect LDFLAGS
- sed -i -e '/LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' src/Makefile.in || die
+ # Respect CFLAGS and LDFLAGS
+ sed -i \
+ -e '/^LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' \
+ -e '/^GDBFLAG/d' \
+ -e '/^PIPEFLAG/d' \
+ src/Makefile.in || die
epatch_user
}