mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user