commit:     449d31cad40f4f09cc7f440964cdc3e1d72579c7
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 15:28:05 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 15:28:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449d31ca

x11-plugins/wmpop3lb: better sed command for $CC

Closes: https://bugs.gentoo.org/726246
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild 
b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
index 8b443af7ff28..ddfd4a33a32d 100644
--- a/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
+++ b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,7 +28,7 @@ src_prepare() {
        sed -i -e "s|-g2 -D_DEBUG|${CFLAGS}|" "wmpop3/Makefile" || die
 
        #De-hardcode compiler
-       sed -i -e "s|cc|\$(CC)|g" "wmpop3/Makefile" || die
+       sed -i -e "s|\tcc |\t\$(CC) |g" "wmpop3/Makefile" || die
 
        #Honour Gentoo LDFLAGS - bug #335986
        sed -i -e "s|\$(FLAGS) -o wmpop3lb|\$(LDFLAGS) -o wmpop3lb|" 
"wmpop3/Makefile" || die

Reply via email to