From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD0A61396D0 for ; Thu, 31 Aug 2017 10:33:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE9F61FC0BF; Thu, 31 Aug 2017 10:33:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB9FD1FC0B6 for ; Thu, 31 Aug 2017 10:33:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B2EC340BEA for ; Thu, 31 Aug 2017 10:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E540688F6 for ; Thu, 31 Aug 2017 10:33:25 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1504174727.ec524fde0199c2e847ab8acbc478aaf8027c69a2.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ii/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/ii/ii-1.7-r1.ebuild X-VCS-Directories: net-irc/ii/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: ec524fde0199c2e847ab8acbc478aaf8027c69a2 X-VCS-Branch: master Date: Thu, 31 Aug 2017 10:33:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 70606a9d-93f0-4071-ae29-126b587475ed X-Archives-Hash: 00ce72208e00ef67cfc7651d5c95cf98 commit: ec524fde0199c2e847ab8acbc478aaf8027c69a2 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Aug 31 10:18:47 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Aug 31 10:18:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec524fde net-irc/ii: Respect CFLAGS. Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-irc/ii/ii-1.7-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net-irc/ii/ii-1.7-r1.ebuild b/net-irc/ii/ii-1.7-r1.ebuild index 1bc0538ae7b..4a1fce5af76 100644 --- a/net-irc/ii/ii-1.7-r1.ebuild +++ b/net-irc/ii/ii-1.7-r1.ebuild @@ -16,13 +16,13 @@ src_prepare() { default sed -i \ - -e "s/CFLAGS[[:space:]]*= -g -O0/CFLAGS += /" \ - -e "s/LDFLAGS[[:space:]]*=/LDFLAGS +=/" \ - -e /^LIBS/d \ + -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ + -e '/^CC/d' \ + -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ config.mk || die - - # enable verbose build - sed -i 's/@${CC}/${CC}/' Makefile || die + sed -i \ + -e 's|@${CC}|$(CC)|g' \ + Makefile || die ht_fix_file query.sh }