From 6a478ada8ce759656e1dd14f872b30808bfadefb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Thu, 22 Feb 2007 17:02:38 +0000 Subject: [PATCH] respect LDFLAGS, CFLAGS, bug 167994 Package-Manager: portage-2.1.2-r10 --- net-irc/ii/ChangeLog | 5 ++++- net-irc/ii/Manifest | 16 ++++++++-------- net-irc/ii/ii-1.ebuild | 16 ++++++++++++++-- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/net-irc/ii/ChangeLog b/net-irc/ii/ChangeLog index 215b4f181c47..e031062b6ac0 100644 --- a/net-irc/ii/ChangeLog +++ b/net-irc/ii/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/ii # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ii/ChangeLog,v 1.1 2007/02/22 12:29:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ii/ChangeLog,v 1.2 2007/02/22 17:02:38 armin76 Exp $ + + 22 Feb 2007; Raúl Porcel ii-1.ebuild: + respect LDFLAGS, CFLAGS, bug 167994 *ii-1 (22 Feb 2007) diff --git a/net-irc/ii/Manifest b/net-irc/ii/Manifest index 06628967bc80..637be1b25a9a 100644 --- a/net-irc/ii/Manifest +++ b/net-irc/ii/Manifest @@ -1,12 +1,12 @@ DIST ii-1.tar.gz 8844 RMD160 fa6fee15357cc19ba013ab1b4df4fddff91207b8 SHA1 f1d4bc3deb9c91483b8009f4cf409f055909f108 SHA256 ebd3e94c4a9338e4812a964ee323fad3bd9bc7d41872cf1899e3e46bac9edfb8 -EBUILD ii-1.ebuild 554 RMD160 c059041c2979dccbeecf31b4e5efc12bfc41156a SHA1 4fcee45b1350d287e5c132def43cd0acada01fd5 SHA256 672f19d8da329ae0a3df254855da9282df8c21bd7e1d5e356917da507611f48f -MD5 f14b4942c8e717f19be496b2ed5b9aad ii-1.ebuild 554 -RMD160 c059041c2979dccbeecf31b4e5efc12bfc41156a ii-1.ebuild 554 -SHA256 672f19d8da329ae0a3df254855da9282df8c21bd7e1d5e356917da507611f48f ii-1.ebuild 554 -MISC ChangeLog 421 RMD160 67392c45e9dd0d78417468c417af28dcdcfc7b0c SHA1 743dcf9ab770bd023063d1ca0b6f9ca8bf3eea5d SHA256 4df7bb3cbe28eafe507f7b7843313fa9abc39b510789a8aebbc1ed28c749069e -MD5 1afa3b925d274ccfb67a5d3c8b64cacc ChangeLog 421 -RMD160 67392c45e9dd0d78417468c417af28dcdcfc7b0c ChangeLog 421 -SHA256 4df7bb3cbe28eafe507f7b7843313fa9abc39b510789a8aebbc1ed28c749069e ChangeLog 421 +EBUILD ii-1.ebuild 762 RMD160 a2563b0343f59ea4287b09a76c326627a601702e SHA1 0223760f3d622546e5c7dd2b49cf36e95c725d2c SHA256 8c59982686a1c5c884ccb6268d83b1f773babfc61815c5c19ad4e0dc0d21494b +MD5 7f9ed0bc37702cb08d277354418fd91a ii-1.ebuild 762 +RMD160 a2563b0343f59ea4287b09a76c326627a601702e ii-1.ebuild 762 +SHA256 8c59982686a1c5c884ccb6268d83b1f773babfc61815c5c19ad4e0dc0d21494b ii-1.ebuild 762 +MISC ChangeLog 522 RMD160 ebbf8b3c09a922d8c94cc6825b94415c3d298132 SHA1 8ada0f987641933159840affa7722e1be4d3dc3c SHA256 c645b867c365e08aa37fd08e2925c9ae01c8089edd35e826d09a9c4fb7a81c97 +MD5 4d1367abbcb421ffd18574ec0faabb46 ChangeLog 522 +RMD160 ebbf8b3c09a922d8c94cc6825b94415c3d298132 ChangeLog 522 +SHA256 c645b867c365e08aa37fd08e2925c9ae01c8089edd35e826d09a9c4fb7a81c97 ChangeLog 522 MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160 diff --git a/net-irc/ii/ii-1.ebuild b/net-irc/ii/ii-1.ebuild index 49ddb82870ad..bf6f304cfe28 100644 --- a/net-irc/ii/ii-1.ebuild +++ b/net-irc/ii/ii-1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ii/ii-1.ebuild,v 1.1 2007/02/22 12:29:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ii/ii-1.ebuild,v 1.2 2007/02/22 17:02:38 armin76 Exp $ + +inherit toolchain-funcs DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" HOMEPAGE="http://www.suckless.org/wiki/tools/irc" @@ -14,8 +16,18 @@ IUSE="" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s/CFLAGS = -g -O0/CFLAGS += -g/" \ + -e "s/LDFLAGS =/LDFLAGS +=/" \ + config.mk || die "sed failed" +} + src_compile() { - emake || die "emake failed" + emake CC=$(tc-getCC) || die "emake failed" } src_install() { -- 2.26.2