From 449d31cad40f4f09cc7f440964cdc3e1d72579c7 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Sun, 20 Feb 2022 16:28:05 +0100 Subject: [PATCH] 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 --- 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 8b443af7ff281..ddfd4a33a32dc 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